You are here

function uc_recurring_uc_cybersource_recurring_info in UC Recurring Payments and Subscriptions 6.2

Same name and namespace in other branches
  1. 7.2 includes/uc_recurring.uc_cybersource.inc \uc_recurring_uc_cybersource_recurring_info()

Implements hook_recurring_info().

File

includes/uc_recurring.uc_cybersource.inc, line 11
Uc recurring implementation for the CyberSource module.

Code

function uc_recurring_uc_cybersource_recurring_info() {
  $items['cybersource'] = array(
    'name' => t('CyberSource'),
    'payment method' => 'credit',
    'module' => 'uc_recurring',
    'fee handler' => 'cybersource',
    'renew callback' => 'uc_recurring_cybersource_renew',
    'process callback' => 'uc_recurring_cybersource_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_cybersource_update_form',
        ),
        'file' => 'includes/uc_recurring.uc_cybersource.inc',
      ),
      'profile' => array(
        'title' => 'Customer Profile',
        'page arguments' => array(
          'uc_recurring_cybersource_profile_form',
        ),
        'access callback' => 'user_access',
        'access arguments' => array(
          'administer recurring fees',
        ),
        'file' => 'includes/uc_recurring.uc_cybersource.inc',
      ),
      'cancel' => UC_RECURRING_MENU_DEFAULT,
    ),
  );
  return $items;
}