#.buddhaha
1 messages ยท Page 1 of 1 (latest)
Hello .buddhaha, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
โข .buddhaha, 22 hours ago, 47 messages
โข .buddhaha, 1 day ago, 17 messages
Hello ๐
No, there's no API for that.
If I remember correctly, we use customer's IP (geolocation) fior this
Okay, but can I take a free ride somehow on your api? checkout session preview or something ๐
Not sure what you mean by free ride ๐
Are you asking if there are any private/beta APIs for this?
No ๐ So, I want to figure out what currency the user will be presented with before they enter the Stripe checkout. When they already have a subscription we can use upcomingInvoice to preview what a subscription change would implicate, and I want to do something similar where I get the price in the correct currency, before they enter the checkout.
Perhaps preview checkout or something like that?
there's nothing like previewing checkout unfortunately.
If it's an existing customer, you could retrieve their customer object using ID and look at currency
https://stripe.com/docs/api/customers/object#customer_object-currency
It shows you the currency the customer used for a subscription
No existing customer unfortunately ๐ฆ Okay, so then I will have to geolocate and hope that we get the same answer?
Correct
๐ฆ thank you