When a user visits the website for the first time, the currency shown is random (USD / GBP / EUR).
It does not match the user’s actual location on the first page load.
However, after refreshing the page once, the correct currency is displayed based on the user’s geo-location.
Observed Behavior:
First visit (new user / incognito mode):
Currency is randomly displayed (USD / GBP / EUR)
After page refresh:
Currency switches correctly according to the user’s location
Expected Behavior:
On the first visit itself, the correct currency should be displayed based on the user’s geo-location without requiring a page refresh.