You are here

function uc_stripe_update_7201 in Ubercart Stripe 7.2

Same name and namespace in other branches
  1. 7.3 uc_stripe.install \uc_stripe_update_7201()

Enable triggered renewals, as uc_recurring manages renewals with this version.

File

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

Code

function uc_stripe_update_7201(&$sandbox) {
  variable_set('uc_recurring_trigger_renewals', TRUE);
  variable_set('uc_credit_validate_numbers', FALSE);
  return 'Enabled uc_recurring triggered renewals (uc_recurring_trigger_renewals) and required uc_checkout_skip_review';
}