#arshad.cm

1 messages · Page 1 of 1 (latest)

vast tideBOT
faint anvil
#

Hello there

#

Sounds like you aren't doing one of the two things mentioned in the error.

#

What does your <Elements/> component look like and what options are you passing to it?

worn knot
#

<Elements stripe={stripePromise}>

faint anvil
#

Are you following a specific doc/guide?

faint anvil
#

<Elements stripe={stripePromise} options={{ clientSecret }}>

#

That is your issue

worn knot
#

yes I passed those things before. But While I am pconfirming the payment getting errror

faint anvil
#

That is not what the error indicates

#

Have you logged out your clientSecret that you are passing to <Elements/>?

worn knot
#

Invalid value for stripe.confirmCardPayment intent secret: value should be a client_secret string. You specified: [object Object].

#

Yes I logged it and it is like expected

faint anvil
#

Okay that error is different from the original one you posted