From a3bea77898cb5dd1ca25a55d54cbcaaa8edafd93 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 13 Nov 2024 19:27:02 +0100 Subject: [PATCH] Log --- 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 bc089e5d609f0..a76b244a69c6c 100644 --- a/htdocs/stripe/class/stripe.class.php +++ b/htdocs/stripe/class/stripe.class.php @@ -1011,7 +1011,9 @@ public function sepaStripe($cu, CompanyPaymentMode $object, $stripeacc = '', $st if ($num) { $obj = $this->db->fetch_object($resql); $cardref = $obj->stripe_card_ref; + dol_syslog(get_class($this)."::sepaStripe paymentmode=".$cardref); + if ($cardref) { try { if (empty($stripeacc)) { // If the Stripe connect account not set, we use common API usage