You are here

function test_gateway_payment_gateway in Ubercart 5

Same name and namespace in other branches
  1. 6.2 payment/uc_credit/test_gateway.module \test_gateway_payment_gateway()

File

payment/uc_payment/test_gateway.module, line 14
A test module used as an example for a payment gateway.

Code

function test_gateway_payment_gateway() {
  $gateways[] = array(
    'id' => 'test_gateway',
    'title' => t('Test Gateway'),
    'description' => t('Process credit card payments through the Test Gateway.'),
    'credit' => 'test_gateway_charge',
  );
  return $gateways;
}