# Currency based on location

**URL:** <https://community.weweb.io/t/currency-based-on-location/20898>\
**Category:** How do I?\
**Created:** [March 12, 2026, 2:34pm UTC](https://community.weweb.io/t/currency-based-on-location/20898 "2026-03-12T14:34:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrUnfreeze](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@MrUnfreeze](https://community.weweb.io/u/MrUnfreeze)\
**Post date:** [March 12, 2026, 2:34pm UTC](https://community.weweb.io/t/currency-based-on-location/20898/1 "2026-03-12T14:34:02Z")

</div>

Hello,

I’d like to find a way to display currencies based on locations. For example on the pricing page, if the person is in the UK show (and convert prices) in pounds vs Euros for someone in France. I plan to use Stripe, if that’s any useful to respond this question.

Many thanks

---

<div class="post-metadata">

**Author:** ![Slavo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/slavo/32/13253_2.png) [@Slavo](https://community.weweb.io/u/Slavo)\
**Post date:** [March 12, 2026, 5:17pm UTC](https://community.weweb.io/t/currency-based-on-location/20898/2 "2026-03-12T17:17:59Z")

</div>

Hello! The easiest way is to use an IP Geolocation utility to determine the user’s location. There are many of these, but we use [https://ipgeolocation.io/](https://ipgeolocation.io/). You make a simple REST API call to the services, which returns an object with all the information you need.

 ![CleanShot 2026-03-12 at 12.13.47](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/a/ab5329b4e7ac33e900039dcc472cd57004cdbfaf.png)

From that point, you can build a workflow that will then do whatever you need it to do based on the user’s location or currency.

 ![CleanShot 2026-03-12 at 12.14.05](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/0/0feb84ae4ba6c92d85a9be53820cfec9a30b5350.png)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![MrUnfreeze](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@MrUnfreeze](https://community.weweb.io/u/MrUnfreeze)\
**Post date:** [March 14, 2026, 8:27pm UTC](https://community.weweb.io/t/currency-based-on-location/20898/3 "2026-03-14T20:27:32Z")

</div>

Many thanks - that’s awesome !

---

<div class="post-metadata">

**Author:** ![MrUnfreeze](https://avatars.discourse-cdn.com/v4/letter/m/e95f7d/32.png) [@MrUnfreeze](https://community.weweb.io/u/MrUnfreeze)\
**Post date:** [March 15, 2026, 12:03pm UTC](https://community.weweb.io/t/currency-based-on-location/20898/4 "2026-03-15T12:03:19Z")

</div>

Hi Slavo  
I looked at the solution and rather prefer a “free” solution. With Xano tripling their prices, I need to make savings elsewhere.

If anyone reads this message and needs to do the same: I implemented in the following manner:

- created a table on Xano with country code vs currency
- created an API on Xano to get IP location using Xano’s native function “IP geolocation”. From here : send back to Weweb the country and currency
- created 2 data variables (currency, and country) which I use on the Pricing page load

Thank you

---

<div class="post-metadata">

**Author:** ![Slavo](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/slavo/32/13253_2.png) [@Slavo](https://community.weweb.io/u/Slavo)\
**Post date:** [March 16, 2026, 11:52am UTC](https://community.weweb.io/t/currency-based-on-location/20898/5 "2026-03-16T11:52:58Z")

</div>

Hello! Xano plays no role in this at all. It is used in that example workflow I shared but Xano’s presence has nothing to do with the geolocation itself. You can store the result of the geolocation API call in a front-end variable and then do whatever you need to with it. Of course, be mindful of any security implications when doing this, especially in the context of payments.
