You are here

function uc_authorizenet_recurring_fee in Ubercart 6.2

Same name and namespace in other branches
  1. 5 payment/uc_authorizenet/uc_authorizenet.module \uc_authorizenet_recurring_fee()

Implements hook_recurring_fee().

File

payment/uc_authorizenet/uc_authorizenet.module, line 656
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);
}