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();