You are here

function uc_stripe_install in Ubercart Stripe 7

Same name and namespace in other branches
  1. 8.3 uc_stripe.install \uc_stripe_install()
  2. 8.2 uc_stripe.install \uc_stripe_install()
  3. 6.2 uc_stripe.install \uc_stripe_install()
  4. 6 uc_stripe.install \uc_stripe_install()
  5. 7.3 uc_stripe.install \uc_stripe_install()
  6. 7.2 uc_stripe.install \uc_stripe_install()

Implements hook_install().

File

./uc_stripe.install, line 31
Installation file for the uc_stripe module.

Code

function uc_stripe_install() {

  // This turns off the uc_recurring cron task to renew. We want this
  // off because the renewal payments are handled by Stripe and initiating
  // them separately will cause a mess.
  variable_set('uc_recurring_trigger_renewals', FALSE);
}