You are here

function uc_recurring_hosted_authorizenet_arb_renew in UC Recurring Payments and Subscriptions 7.2

Same name and namespace in other branches
  1. 6.2 modules/uc_recurring_hosted/uc_recurring_hosted.module \uc_recurring_hosted_authorizenet_arb_renew()

Recurring fee renew callback for Authorize.net ARB.

Parameters

$order: The reneal order object.

$fee: The recurring fee object.

Return value

Always returns TRUE.

1 string reference to 'uc_recurring_hosted_authorizenet_arb_renew'
uc_recurring_hosted_recurring_info in modules/uc_recurring_hosted/uc_recurring_hosted.module
Implements hook_recurring_info().

File

modules/uc_recurring_hosted/uc_recurring_hosted.module, line 422
Provides hosted gateway specific code for recurring payments, specifically Authorize.net ARB and Paypal WPS

Code

function uc_recurring_hosted_authorizenet_arb_renew($order, $fee) {
  uc_payment_enter($order->order_id, $order->payment_method, $_POST['x_amount'], $fee->uid, NULL, t('Authorize.net ARB subsription ID: @subscription_id', array(
    '@subscription_id' => $_POST['x_subscription_id'],
  )));
  return TRUE;
}