You are here

function uc_stripe_recurring_info in Ubercart Stripe 6

Same name and namespace in other branches
  1. 6.2 uc_stripe.module \uc_stripe_recurring_info()
  2. 7.3 uc_stripe.module \uc_stripe_recurring_info()
  3. 7 uc_stripe.module \uc_stripe_recurring_info()
  4. 7.2 uc_stripe.module \uc_stripe_recurring_info()

Implements hook_recurring_info().

File

./uc_stripe.module, line 32
A module used for Stripe. Developed by Victor Quinn for Health for Hackers (http://www.healthforhackers.com)

Code

function uc_stripe_recurring_info() {
  $items['uc_stripe'] = array(
    'name' => t('Stripe'),
    'payment method' => 'credit',
    'module' => 'uc_recurring',
    'fee handler' => 'uc_stripe',
    'process callback' => 'uc_stripe_process',
    'renew callback' => 'uc_stripe_renew',
    'cancel callback' => 'uc_stripe_cancel',
    'own handler' => FALSE,
    'menu' => array(
      'charge' => UC_RECURRING_MENU_DEFAULT,
      'edit' => UC_RECURRING_MENU_DEFAULT,
      'cancel' => UC_RECURRING_MENU_DEFAULT,
    ),
  );
  return $items;
}