#dan-wallet-setupintent

1 messages · Page 1 of 1 (latest)

coarse sparrowBOT
astral flint
#

I changed to using a client_secret from a SetupIntent instead of a PaymentIntent, as was discussed in that thread, and now I get an error "Invalid value for stripe.confirmCardPayment intent secret: value should be a PaymentIntent client secret. You specified: a SetupIntent client secret." when trying to confirm the card

distant gyro
#

dan-wallet-setupintent

#

Hey @astral flint! You can't use confirmCardPayment() with a SetupIntent client secret. You have to use confirmCardSetup() instead

astral flint
#

Ah. thank you!

#

same api?

#

(I can look it up, just, if you know...)

distant gyro
#

I don't know what "same api?" means

astral flint
#

Thank you so much @distant gyro This got me moving and I really appreciate it.