function uc_authorizenet_uc_payment_gateway in Ubercart 8.4
Same name and namespace in other branches
- 7.3 payment/uc_authorizenet/uc_authorizenet.module \uc_authorizenet_uc_payment_gateway()
Implements hook_uc_payment_gateway().
File
- payment/
uc_authorizenet/ uc_authorizenet.module, line 16 - Processes payments using Authorize.net. Supports AIM and ARB.
Code
function uc_authorizenet_uc_payment_gateway() {
$gateways['authorizenet'] = [
'title' => t('Authorize.net'),
'description' => t('Process credit card payments using the AIM service of Authorize.net.'),
'settings' => 'uc_authorizenet_settings_form',
'credit' => 'uc_authorizenet_charge',
'credit_txn_types' => [
UC_CREDIT_AUTH_ONLY,
UC_CREDIT_PRIOR_AUTH_CAPTURE,
UC_CREDIT_AUTH_CAPTURE,
UC_CREDIT_REFERENCE_SET,
UC_CREDIT_REFERENCE_TXN,
],
];
return $gateways;
}