#JAKK-confirm-error

1 messages ยท Page 1 of 1 (latest)

woeful willow
#

Hi ๐Ÿ‘‹ are you encountering that error at the part of your code that is creating the Payment Intent?

novel pawn
#

Hi ! Yes absolutely

woeful willow
#

Gotcha! It looks like that would be happening because you're setting the confirm parameter to true when creating the intent. This will cause the Payment Intent to attempt to immediately confirm upon creation, which will be before you've collected the payment method information.
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-confirm

novel pawn
#

Thank you sooooo much toby ! It works !

#

Stripe support is maybe one of the best ones

woeful willow
#

Awesome, glad I could help. Thank you for the kind words!