#Grace_m
1 messages · Page 1 of 1 (latest)
What specific error are you seeing with the subscriptions for your indian users?
This is the error I'm getting
But I'm not using either of these SetupIntent or PaymentIntent for the subscription payments
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?
using Stripe.js
You're just creating the PaymentMethod? Why aren't you using a SetupIntent?
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.
Gotcha
So I'd recommend changing your integration a bit - what are you currently using? Card Element? or PaymentElement?
PaymentElement
Got it - so I'd recommend reading through this doc (https://stripe.com/docs/payments/accept-a-payment-deferred?type=subscription#create-intent)
ok. thanks
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?
It depends on whether you're taking an initial payment or not. Can you share an example subscription ID?
we are taking initial payment for subscriptions
Ok, and have you tried following the doc linked above to confirm the payment from the first invoice using Stripe.js?
You should follow through this, and use the card element to confirmCardPayment with the payment intent client secret
Note the docs for RBI compliant subscription creation here: https://stripe.com/docs/india-recurring-payments?integration=subscriptions#subscription-creation
I'm getting the folloeing error while creating the subscriptions since currently we are attaching the payment method directly to the customer.
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
Can you share these request IDs?
https://stripe.com/docs/api/request_ids / https://support.stripe.com/questions/finding-the-id-for-an-api-request
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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.