Even when working Geolocation is never 100% accurate. Once they input an address, the taxes would change. Does the plugin you’re using not allow a manual switch?
Also just cleared my .dat files and tested and was geolocated fine.
Hey mike, thank you for your response – I appreciate all the help.
Yes once they select the billing country from the drop down the currency switches automatically to their selected country and back to the currency they have seen on the rest of the site and up to checkout.
My reason for looking for a fix is customers can come to checkout and see a different currency/price and drop out before realizing the billing country needs changing.
It worked perfectly up to yesterday and I havent completed any updates. Is there anything my hosting company could have done/updated which could be causing the sudden stop in functionality?
Is there anything else you can recommended to try to get it to work again and recognize the location of the user?
Many thanks
Hey, just an update. I have tested the geolocation on a exact replica site on a different VPS server which I have. It worked perfectly as it should.
Therefore that must narrow the problem down to a change/update my web hosting company has made which has affected the geolocation.
Many thanks
Ok. If you delete the dat files and let them redownload, that should rule out any corruption.
Hey Mike, I have replaced the dat files but it unfortunately didn’t solve the issue.
Are there any other suggestions?
Many thanks
Nothing else I can think of. it’s working for me, so unless your IP cannot be geolocated for any reason..
This stopped working for me also just recently.
I initially thought it was down to recently moving over to Sucuri CloudProxy but after deactivating it and going through a whole host of other tests with the people over at Sucuri it still appears to be an issue.
Can’t think what else it could be. I am using the “geolocate with caching support” setting.
Just in case this issue occurs to anyone else:
Looks like I had a combination issue – it was a misconfiguration in CloudProxy AND corrupted GeoIP.dat and GeoIPv6.dat making it difficult to find the issue!
I now have everything working with CloudProxy / Sucuri WAF using the Sucuri WordPress Plugin with Reverse Proxy Support enabled, IP Address Discover enabled and Main IP HTTP Header set to HTTP_X_REAL_IP
GeoIP.dat and GeoIPv6.dat are located in wp-content/uploads folder and I just deleted and then force-downloaded them again.