#dan-wallet-setupintent
1 messages · Page 1 of 1 (latest)
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
dan-wallet-setupintent
Hey @astral flint! You can't use confirmCardPayment() with a SetupIntent client secret. You have to use confirmCardSetup() instead
I don't know what "same api?" means
https://stripe.com/docs/js/setup_intents/confirm_card_setup this is what you want (sorry Discord is quite busy right now)
Thank you so much @distant gyro This got me moving and I really appreciate it.