The bestfaraway Posted August 28, 2019 Share Posted August 28, 2019 Hi everyone, i've just noticed that when i try to surf my website from another computer than mine it result an error saying that i cannot purchase from this country. The problem is that i've set correclty the geolite2-city database in app/resources/geoip and that it says i'm purchasing from France when i'm purchasing from Italy. Anyone knows how to get rid of this error?? thanks Link to comment Share on other sites More sharing options...
razaro Posted August 28, 2019 Share Posted August 28, 2019 Hi Accuracy of geolite2 city database is not so bad but sometimes mistakes happen. That why all MaxMind databases are updated weekly. You can test IP of that other computer with their Precision service demo https://www.maxmind.com/en/geoip2-precision-demo and see if there is an issue with your IP. Also, do check in localization settings if you have disabled option to set country by browser language plus do test in new incognito/private browser window. We have a module that works with paid MaxMind databases and also have great simulator tool, if you ant check it out: Link to comment Share on other sites More sharing options...
The bestfaraway Posted August 28, 2019 Author Share Posted August 28, 2019 Hello and thanks for the reply. So the problem is that i've verified that i have no errors from my ip since i tested your link and it resulted that my ip is from Italy. I tried a new incognito windows and i get the same error. Cannot place an order from this Country ( France ). The problem is that i get this error only from certain wi-fi, not from all of them. So i think that the problem is not gonna disappear by buying that module. Thanks. Any reply is appreciated. Link to comment Share on other sites More sharing options...
The bestfaraway Posted August 28, 2019 Author Share Posted August 28, 2019 It looks like the geolocation works only on certain Providers. But why?? Link to comment Share on other sites More sharing options...
razaro Posted August 28, 2019 Share Posted August 28, 2019 I am guessing your default country is Italy? The message "Cannot place an order from this Country ( France )" is connected to setting that you have restricted France in Geolocation settings. Still, you should get Italy every time in the incognito browser window. Do you have some module that could have set country? Also, check in Stats under online visitors, does it correctly recognize different visitors IPs. I saw few shops that had reverse proxy so it assing same, server IP to all visitors. Link to comment Share on other sites More sharing options...
El Patron Posted August 29, 2019 Share Posted August 29, 2019 Hi, 1) don't use native PS geo location because if the IP does not resolve (not in database) then valid visitor cannot shop 2) see 1 I recommend the module below (ok, it's my companies module) but it was written originally to allow non-resolved IP's to shop but we have since extended it to use also commercial (paid) versions of maxmind with very high accuracy. https://addons.prestashop.com/en/international-localization/27368-geo-targeting-pro-by-country-prices-taxes-currency-.html Restriction of shopping is normally (say amazon) based on if delivery can be made to their country. This causes a problem however because many outside of US have to often gotten to checkout then to ony find out you do not ship to them. How to solve? Provide non-logged visitors shipping assurance, this we solved with two different modules. Visitor Shipping Assurance https://addons.prestashop.com/en/delivery-tracking/42233-visitor-shipping-assurance.html and a much more feature rich module Shipping Commander we sell on our website https://www.prestaheroes.com/en-us/modules/geo-localization/prestashop-shipping-commander To use native PS geo location, you will simply lose sales. happy geo'ing (it's not about guessing) el Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now