function test_gateway_payment_gateway in Ubercart 6.2
Same name and namespace in other branches
- 5 payment/uc_payment/test_gateway.module \test_gateway_payment_gateway()
Implements hook_payment_gateway().
See also
File
- payment/
uc_credit/ test_gateway.module, line 28 - A dummy payment gateway to use for testing or as an example.
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;
}