#madclaws
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Give me a moment to take a look
thanks
That guide is strictly for Stripe Invoicing (generating mandates for existing payment methods)
Is that what you're trying to do?
yes
I am using setupIntent for capturing payment method. Every thing was working until autocharge fails in India due to need of mandates
Can you suggest a flow for this problem?
Acc to doc, mandates are generated on setupIntent
Isn't payment_method is also created while setupIntent
Have you tried setting mandate options on the initial SetupIntent when you collect the payment method information for the first time?
While the docs talk about having to already collect customer's payment method, the example actually doesn't reference an existing payment method ID at all
can you share that request ID in text?
req_xxxx
When i tried to remove payment_method, got response that payment_method is needed
req_wp1Anu5ZZXiORf
req_HAdGVXFiYMtTcA
ah you also may have confirm: true which you need to remove since you'll confirm the SetupIntent client-side
oh ok, it was like that in doc
Yes the docs are trying to confirm the SetupIntent on the server-side (which you can do if you have the payment method collected already)
oh ok, thanks will try then removing it and so i think no need of payment_method
Yup! ๐