From 5aa14a24cbfbe0d8a12a1ac90e906926b4e260fe Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 24 Nov 2024 22:33:08 +0100 Subject: [PATCH] More logs --- htdocs/stripe/class/stripe.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/htdocs/stripe/class/stripe.class.php b/htdocs/stripe/class/stripe.class.php index a76b244a69c..c80d7806a1a 100644 --- a/htdocs/stripe/class/stripe.class.php +++ b/htdocs/stripe/class/stripe.class.php @@ -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");