#kodai_82300

1 messages · Page 1 of 1 (latest)

nimble idolBOT
bold oar
#

Hello! What error are you getting?

mystic flume
#

I don't see a clear error.
I can't take the next step.
it stops at the creation of paymentIntent.

daring siren
#

👋 stepping in

#

So two things

#

Either you can use a try/catch to catch the error on your server here

#

Or you could look at your logs in your Stripe Dashboard

#

To see what the error is on your PaymentIntent creation

#

Do you see an error in your Dashboard logs?

mystic flume
# daring siren 👋 stepping in

I found this error

payment_intent_unexpected_state
You cannot confirm this PaymentIntent because it's missing a payment method. You can either update the PaymentIntent with a payment method and then confirm it again, or confirm it again directly with a payment method

daring siren
#

Yep okay so that tells you the issue

#

You are trying to confirm a PaymentIntent without passing a PaymentMethod ID

mystic flume
daring siren
#

👍