#radiant1106

1 messages · Page 1 of 1 (latest)

grizzled bronzeBOT
grizzled crystal
#

Hi there!

#

What error exactly to you see?

acoustic storm
# grizzled crystal What error exactly to you see?

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.

#

I am getting this error while completing the payment from stripe module

grizzled crystal
acoustic storm
grizzled crystal
#

Thanks! Give me a few minutes to look into this.

acoustic storm
#

Okay

grizzled crystal
acoustic storm
#

In my code?

grizzled crystal
#

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)?

acoustic storm
#

Hello, I am waiting for your reply

grizzled crystal
#

And make sure to set setup_future_usage when creating the PaymentIntent to save the card

acoustic storm
grizzled crystal
#

No, it's all using the API.

acoustic storm
#

Ok thanks