diff --git a/htdocs/stripe/class/stripe.class.php b/htdocs/stripe/class/stripe.class.php index bc089e5d609..a76b244a69c 100644 --- a/htdocs/stripe/class/stripe.class.php +++ b/htdocs/stripe/class/stripe.class.php @@ -1011,7 +1011,9 @@ class Stripe extends CommonObject 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