loud-glass-33663
05/16/2021, 5:18 AMprice_id
which is specific to every price. So separate price_id
for INR and separate price_id
for USD.
Which means, I need to now:
1. Detect the country of the person on my pricing page (using IP or something)
2. Show the INR pricing and USD pricing accordingly
3. Send INR or USD price IDs to Stripe accordingly.
Is this correct? Or am I missing something very basic.
Has anyone used Chargebee or something similar which would take care of this for you?
(Please reply in comments if you have any experience with this).
Thanks!loud-glass-33663
05/16/2021, 5:19 AMbroad-camera-13514
05/16/2021, 5:45 AMcolossal-rocket-18368
05/16/2021, 5:51 AMloud-glass-33663
05/16/2021, 5:52 AMcolossal-rocket-18368
05/16/2021, 5:54 AMcolossal-rocket-18368
05/16/2021, 5:57 AMloud-glass-33663
05/16/2021, 5:58 AMmagnificent-solstice-42554
05/16/2021, 7:33 AMmagnificent-solstice-42554
05/16/2021, 7:37 AMwitty-gigabyte-47737
05/16/2021, 7:49 AMloud-glass-33663
05/16/2021, 8:07 AMmillions-ice-83302
05/16/2021, 8:23 AMwitty-gigabyte-47737
05/17/2021, 5:48 AMtall-advantage-5586
05/18/2021, 6:17 PMloud-glass-33663
05/19/2021, 3:52 AMINDIA
or NOT INDIA
) and then show the pricing accordingly once you go to Stripe.
For those on the thread, I host the UI with AWS Amplify - which in turn hosts on Cloudfront — and a happy side-effect of this is that Cloudfront returns the country code in a header to the API.
Which is how I could turn this very quickly (a few hours including changes to my pricing architecture in the backend).
Else, I was looking at getting a $49 / annum subscription to https://www.ip2location.com/
They are extremely accurate - at par with CloudFront in my tests (using NordVPN and going around a bunch of obscure and non-obscure countries).
Some folks recommended https://ip2c.org/ which is a free and fast public API with a nifty /self
end point — so you don’t even need to extract the IP out and send to the API (like you need to do with ip2location) — but in my tests, I found a whole lot of requests turned out to be wrongly identified — which did not inspire confidence.
Thanks for the heads up on the currency thing Sankalp. Will keep that in mind.tall-advantage-5586
05/19/2021, 6:12 AMcool-garage-76023
05/19/2021, 1:56 PMloud-glass-33663
05/19/2021, 1:58 PMcalm-gigabyte-36239
05/21/2021, 7:48 AMbroad-camera-13514
05/21/2021, 8:43 AMloud-glass-33663
05/21/2021, 8:55 AMcalm-gigabyte-36239
05/21/2021, 2:04 PMtall-advantage-5586
05/22/2021, 4:04 AMboundless-action-15334
05/24/2021, 10:00 AMcalm-gigabyte-36239
05/25/2021, 9:14 AMbroad-camera-13514
05/25/2021, 2:33 PMcalm-gigabyte-36239
05/25/2021, 4:26 PMloud-glass-33663
05/26/2021, 1:55 AMbroad-camera-13514
05/26/2021, 4:24 AMwitty-gigabyte-47737
05/26/2021, 6:11 AMcalm-gigabyte-36239
05/26/2021, 8:51 AM