function uc_recurring_uc_authorizenet_recurring_info in UC Recurring Payments and Subscriptions 7.2
Same name and namespace in other branches
- 6.2 includes/uc_recurring.uc_authorizenet.inc \uc_recurring_uc_authorizenet_recurring_info()
Implements hook_recurring_info().
File
- includes/
uc_recurring.uc_authorizenet.inc, line 11 - Uc recurring implementation for the test gateway module.
Code
function uc_recurring_uc_authorizenet_recurring_info() {
$items['authorizenet_cim'] = array(
'name' => t('Authorize.net (CIM)'),
'payment method' => 'credit',
'module' => 'uc_recurring',
'fee handler' => 'authorizenet_cim',
'renew callback' => 'uc_recurring_authorizenet_cim_renew',
'process callback' => 'uc_recurring_authorizenet_cim_process',
'saved profile' => TRUE,
'menu' => array(
'charge' => UC_RECURRING_MENU_DEFAULT,
'edit' => UC_RECURRING_MENU_DEFAULT,
'update' => array(
'title' => 'Update Account Details',
'page arguments' => array(
'uc_recurring_authorizenet_cim_update_form',
),
'file' => 'includes/uc_recurring.uc_authorizenet.inc',
),
'profile' => array(
'title' => 'CIM Profile',
'page arguments' => array(
'uc_recurring_authorizenet_cim_profile_form',
),
'access callback' => 'user_access',
'access arguments' => array(
'administer recurring fees',
),
'file' => 'includes/uc_recurring.uc_authorizenet.inc',
),
'cancel' => UC_RECURRING_MENU_DEFAULT,
),
);
if (variable_get('uc_authnet_cim_mode', 'disabled') != 'disabled') {
$items['authorizenet'] = $items['authorizenet_cim'];
}
return $items;
}