More logs

This commit is contained in:
Laurent Destailleur 2024-11-24 22:33:08 +01:00
parent c2a3a93342
commit 5aa14a24cb

View file

@ -1097,6 +1097,7 @@ class Stripe extends CommonObject
$sepa = $s->paymentMethods->create($dataforcard);
if (!$sepa) {
$this->error = 'Creation of payment method sepa_debit on Stripe has failed';
dol_syslog($this->error, LOG_ERR);
} else {
// link customer and src
//$cs = $this->getSetupIntent($description, $soc, $cu, '', $status);
@ -1109,6 +1110,7 @@ class Stripe extends CommonObject
if (!$cs) {
$this->error = 'Link SEPA <-> Customer failed';
dol_syslog($this->error, LOG_ERR);
} else {
dol_syslog("Update the payment mode of the customer");