mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Update pay.php
This commit is contained in:
@@ -635,7 +635,7 @@ while ($i < count($arrayOfValidPaymentModes)) {
|
||||
$i = $i + 1;
|
||||
}
|
||||
|
||||
if (!empty($conf->stripe->enabled) && !empty($conf->global->STRIPE_CARD_PRESENT)) {
|
||||
if (!empty($conf->stripe->enabled) && isset($keyforstripeterminalbank) && !empty($conf->global->STRIPE_CARD_PRESENT)) {
|
||||
$keyforstripeterminalbank = "CASHDESK_ID_BANKACCOUNT_STRIPETERMINAL".$_SESSION["takeposterminal"];
|
||||
print '<span id="StripeTerminal"></span>';
|
||||
if (!empty($conf->global->$keyforstripeterminalbank)) {
|
||||
|
||||
Reference in New Issue
Block a user