From bf13a8ead99026a07889fe92a31bb81f422b77f8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 6 Feb 2023 18:17:02 +0100 Subject: [PATCH] Code comment --- htdocs/societe/paymentmodes.php | 4 +++- htdocs/stripe/class/stripe.class.php | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/societe/paymentmodes.php b/htdocs/societe/paymentmodes.php index ee601d524b3..c26aaac80bd 100644 --- a/htdocs/societe/paymentmodes.php +++ b/htdocs/societe/paymentmodes.php @@ -254,6 +254,7 @@ if (empty($reshook)) { } } + // Add bank account if ($action == 'add') { $error = 0; @@ -346,6 +347,7 @@ if (empty($reshook)) { } } + // Add credit card if ($action == 'addcard') { $error = 0; @@ -1952,7 +1954,7 @@ if ($socid && $action == 'editcard' && $permissiontoaddupdatepaymentinformation) print ''.$langs->trans("CVN").''; print ''; - print ''.$langs->trans("StripeID")." ('card_....')"; + print ''.$langs->trans("StripeID")." ('pm_... ir card_....')"; print ''; print ''; diff --git a/htdocs/stripe/class/stripe.class.php b/htdocs/stripe/class/stripe.class.php index 39641962ec5..fd82c6e600b 100644 --- a/htdocs/stripe/class/stripe.class.php +++ b/htdocs/stripe/class/stripe.class.php @@ -960,6 +960,7 @@ class Stripe extends CommonObject dol_syslog($this->error, LOG_WARNING); } } elseif ($createifnotlinkedtostripe) { + // We will create the BAN on Stripe side $iban = $obj->iban_prefix; //prefix ? $ipaddress = getUserRemoteIP();