diff --git a/htdocs/stripe/class/stripe.class.php b/htdocs/stripe/class/stripe.class.php index e21e23eb67b..fbc8895e265 100644 --- a/htdocs/stripe/class/stripe.class.php +++ b/htdocs/stripe/class/stripe.class.php @@ -592,7 +592,7 @@ class Stripe extends CommonObject $paymentintent = \Stripe\PaymentIntent::create($dataforintent, $arrayofoptions); - if ($paymentintent instanceOf \Stripe\PaymentIntent) { + if ($paymentintent instanceof \Stripe\PaymentIntent) { dol_syslog(get_class($this)."::getPaymentIntent paymentintent is a defined object"); // Store the payment intent