function uc_stripe_recurring_info in Ubercart Stripe 6.2
Same name and namespace in other branches
- 6 uc_stripe.module \uc_stripe_recurring_info()
- 7.3 uc_stripe.module \uc_stripe_recurring_info()
- 7 uc_stripe.module \uc_stripe_recurring_info()
- 7.2 uc_stripe.module \uc_stripe_recurring_info()
Implements hook_recurring_info() to integrate with uc_recurring
Return value
mixed
File
- ./
uc_stripe.module, line 33 - A stripe.js PCI-compliant payment gateway Forked from Bitcookie's work (thanks!) which was posted at http://bitcookie.com/blog/pci-compliant-ubercart-and-stripe-js from discussion in the uc_stripe issue queue, https://www.drupal.org/node/1467886
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;
}