#radiant1106
1 messages · Page 1 of 1 (latest)
PaymentMethods of type card cannot be attached to Customers directly without 3DS due to Indian payment regulations. Please instead provide the PaymentMethod and Customer alongside a SetupIntent or PaymentIntent with the setup_future_usage parameter. See https://support.stripe.com/questions/guide-for-saving-cards-in-india for more details.
Find help and support for Stripe. Our support center 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.
I am getting this error while completing the payment from stripe module
Can you share the request ID (req_xxx)? You can find it here https://dashboard.stripe.com/test/logs
Sure I will send you in few seconds
req_TInmNP98fYRgpD
Thanks! Give me a few minutes to look into this.
Okay
You created the Payment Method here: https://admin.corp.stripe.com/request-log/req_mntoV1jmw2ALrv
However, as mentioned in the error message, instead you should use a SetupIntent (or a PaymentIntent with setup_future_usage) for this to work.
In my code?
I need help using that
First question is: do you want to use a SetupIntent (meaning you want to save the card for future use, but not charge it immediately), or do you want to use a PaymentIntent (meaning you want to save the card for future use and also charge the card at the same time)?
I want to use PaymentIntent
Hello, I am waiting for your reply
To use PaymentIntent, then you should read that documentation: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
And make sure to set setup_future_usage when creating the PaymentIntent to save the card
Is there anything to do with the stripe dashboard?
No, it's all using the API.
Ok thanks