#sandip.b.fst
1 messages · Page 1 of 1 (latest)
Step 4 is in violation of RBI regulations. See: https://support.stripe.com/questions/guide-for-saving-cards-in-india
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
You should be passing the customer parameter when you create the Setup Intent. That will handle the attachment when you confirm the Setup Intent
Yes I'm using stripe.js confirmSetup but after confirm in backend I'm attaching card to customer as well as setting it default
You're missing the customer parameter when you create your Setup Intent: https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements#create-intent
You can't call the /attach endpoint. So instead pass the customer parameter when you create the Setup Intent
And it'll do the same thing
Here is setup intent create log: