Update payment.php
This commit is contained in:
parent
f027bd2b08
commit
b8df685186
@ -78,7 +78,12 @@ if ($facid > 0)
|
|||||||
$ret=$object->fetch($facid);
|
$ret=$object->fetch($facid);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (! empty($conf->stripe->enabled) && (empty($conf->global->STRIPE_LIVE) || GETPOST('forcesandbox', 'alpha')))
|
if (! empty($conf->stripe->enabled))
|
||||||
|
{
|
||||||
|
access_forbidden();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (empty($conf->global->STRIPE_LIVE) || GETPOST('forcesandbox', 'alpha'))
|
||||||
{
|
{
|
||||||
$service = 'StripeTest';
|
$service = 'StripeTest';
|
||||||
$servicestatus = '0';
|
$servicestatus = '0';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user