#kfahad5607-subscription
1 messages · Page 1 of 1 (latest)
yes
I had created subscription with price in USD... but Indian users cannot pay in USD (I get error that reads "non-inr transactions in india should have shipping/billing address outside india")
So you need to create a new price in INR, and use that for the subscription.
Hence, I want to show Indian users prices in INR
I have created a INR price....but how do I know when is the user in India or outside of India
Are you suggesting that I only charge in INR to all the users?
how do I know when is the user in India or outside of India
You could use the IP address of the users to know if they are from India or not, and then redirect them to the correct Subscription (either with USD price or with INR)
Does stripe not provide automatic conversion of prices based on location?
But isn't this approach prone to inaccuracy?
There are two main ways: either ask the user their country, or try to guess it (based on the IP for example).
ok
can we get all the subscriptions and transactions of a particular customer by using customer's ID using stripe API?
Yes you can get all subscription for a customer with stripe.subscriptions.list() and passing a customer ID https://stripe.com/docs/api/subscriptions/list
ok thank you very much soma.