You are here

function uc_stripe_renew in Ubercart Stripe 6

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

Actual function that initiates a recurring fee. Uses the TransID stored in uc_stripe_process, which was returned by Stripe as a handle/identifier for the customer's stored credit card info

1 string reference to 'uc_stripe_renew'
uc_stripe_recurring_info in ./uc_stripe.module
Implements hook_recurring_info().

File

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

Code

function uc_stripe_renew($order, &$fee) {
  drupal_set_message(t("The renewing payments are managed at @url. No renewal charge initiated.", array(
    '@url' => l(t('manage.stripe.com'), 'http://manage.stripe.com'),
  )), 'error');
  return FALSE;
}