* FIX TakePOS : Undefined variable $servicestatus in pay.php on lines 126, 368 and 392 when stripe is not enabled #31724 TakePOS : Undefined variable $servicestatus in pay.php on lines 126, 368 and 392 when stripe is not enabled #31724 * nettoyage ligne 89 whitespace
This commit is contained in:
parent
4b9a5db62f
commit
c2a7c4bbc1
1 changed files with 2 additions and 1 deletions
|
|
@ -82,10 +82,11 @@ top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss);
|
|||
<?php
|
||||
|
||||
$usestripeterminals = 0;
|
||||
$servicestatus = 0;
|
||||
|
||||
if (isModEnabled('stripe')) {
|
||||
$service = 'StripeTest';
|
||||
$servicestatus = 0;
|
||||
|
||||
if (getDolGlobalString('STRIPE_LIVE') && !GETPOST('forcesandbox', 'alpha')) {
|
||||
$service = 'StripeLive';
|
||||
$servicestatus = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue