#Grace_m

1 messages · Page 1 of 1 (latest)

sturdy robinBOT
hidden pewter
#

What specific error are you seeing with the subscriptions for your indian users?

olive shuttle
#

This is the error I'm getting

#

But I'm not using either of these SetupIntent or PaymentIntent for the subscription payments

hidden pewter
#

Subscriptions are built on top of Payment/SetupIntents - so if you're using Subscriptions, that means you're implicitly using intents

#

but backing up for a second - how are you creating/generating these PaymentMethods?

olive shuttle
#

using Stripe.js

hidden pewter
#

You're just creating the PaymentMethod? Why aren't you using a SetupIntent?

olive shuttle
#

yes. currently we are creating it directly using Stripe.js. this was done by someone else long back. I'm handling it now. Actually, I am not sure why it was in this way.

hidden pewter
#

Gotcha

#

So I'd recommend changing your integration a bit - what are you currently using? Card Element? or PaymentElement?

olive shuttle
#

PaymentElement

hidden pewter
olive shuttle
#

ok. thanks

sturdy robinBOT
olive shuttle
#

Sorry, currently we are using CardElement. Can you suggest a way to fix this?

#

which one should I use for the subscription payments - a PaymentIntent or SetupIntent?

hallow temple
#

It depends on whether you're taking an initial payment or not. Can you share an example subscription ID?

olive shuttle
#

we are taking initial payment for subscriptions

hallow temple
#

Ok, and have you tried following the doc linked above to confirm the payment from the first invoice using Stripe.js?

hallow temple
olive shuttle
#

Also, we're not using either of these SetupIntent or PaymentIntent for the subscription payments

#

Currently we are creating the payment method directly using Stripe.js

hallow temple
#

Can you share these request IDs?

#