#Zone33-SetupIntent
1 messages · Page 1 of 1 (latest)
I've added every field though. There are none left to add when I make the function call
Is this on client? or server?
client
the confirmSetupIntent is deprecated, there is confirmCardSetup instead
Complete reference documentation for the Stripe JavaScript SDK.
General advice is to switch over to confirmCardSetup
But if you still want to stick with confirmSetupIntent, then
Use stripe.confirmSetupIntent(clientSecret, data) to confirm the SetupIntent when you are not gathering payment information from an Element. Call this variation when you have already attached a payment method to this SetupIntent, or if you want to attach an existing card, token, or PaymentMethod to it.
So you will need a Payment Method already attached to this SetupIntent, or it won't know which card information to process