You are here

function uc_recurring_uc_credit_recurring_info in UC Recurring Payments and Subscriptions 7.2

Same name and namespace in other branches
  1. 6.2 includes/uc_recurring.uc_credit.inc \uc_recurring_uc_credit_recurring_info()

Implements hook_recurring_info().

File

includes/uc_recurring.uc_credit.inc, line 11
Uc recurring implementation for the credit card module.

Code

function uc_recurring_uc_credit_recurring_info() {
  $gateway = uc_credit_default_gateway();
  $items['credit'] = array(
    'name' => t('Credit card'),
    'payment method' => 'credit',
    'module' => 'uc_recurring',
    'fee handler' => $gateway,
    'process callback' => 'uc_recurring_uc_credit',
    'renew callback' => 'uc_recurring_uc_credit',
    'cancel callback' => 'uc_recurring_uc_credit',
  );
  return $items;
}