function uc_authorizenet_recurring_fee in Ubercart 5
Same name and namespace in other branches
- 6.2 payment/uc_authorizenet/uc_authorizenet.module \uc_authorizenet_recurring_fee()
Implementation of hook_recurring_fee().
File
- payment/
uc_authorizenet/ uc_authorizenet.module, line 678 - Process payments using Authorize.net. Supports AIM and ARB.
Code
function uc_authorizenet_recurring_fee($order, $fee) {
// Don't process the fee if ARB is disabled in the gateway settings.
if (variable_get('uc_authnet_arb_mode', 'disabled') == 'disabled') {
return FALSE;
}
return uc_authorizenet_arb_create($order, $fee);
}