Update interface_99_modStripe_Stripe.class.php
This commit is contained in:
parent
d6e8872af4
commit
4b7f4d29d1
@ -122,7 +122,9 @@ $langs->load('other');
|
||||
/** Users */
|
||||
$ok=0;
|
||||
$stripe=new Stripe($db);
|
||||
if (! empty($conf->stripe->enabled) && (empty($conf->global->STRIPE_LIVE) || empty($conf->global->STRIPECONNECT_LIVE) || GETPOST('forcesandbox','alpha')))
|
||||
if (empty($conf->stripe->enabled)) return 0;
|
||||
|
||||
if (empty($conf->global->STRIPE_LIVE) || GETPOST('forcesandbox','alpha')))
|
||||
{
|
||||
$service = 'StripeTest';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user