Our team checked and couldn't reproduce the issue. I then checked again and looks like it is working as expected. Please watch my screen recording hidden link
As you can see that I've even removed my location from the currency settings and by default I get prices in Euro (from shop till checkout).
Since we don't have a VPN providing UAE endpoints, we can manipulate the location by using define( 'WCML_GEOLOCATED_COUNTRY', 'AE' ); in wp-config.php and in this case we get the prices in AED.
Other than that, I have updated WPML plugins to the latest, deactivated caches and used my Maxmind key in your staging site, this however took some time to activate.
At this point we can only suggest the following:
- Since your site is behind cloudflare, you may need to check cloudflare configs or can probably try the following:
if (isset($_SERVER["HTTP_CF_CONNECTING_IP"])) {
$_SERVER["REMOTE_ADDR"] = $_SERVER["HTTP_CF_CONNECTING_IP"];
}
This however showed no impact when we tested on our side.
- You may update plugins to the latest in your site.
- Try generating a new Maxmind key and use it.
- Check with your server support if the geolocations are resolving correctly (i.e. checking any firewalls or securities or may want to disable it temporarily for testing).
I talked to the server support, but as per them checkout pages are automatically excluded from Cloudflare. Also they asked if the plugin need a cookie to be whitelisted for this to work?