• Resolved bidoowee

    (@bidoowee)


    Hi all,

    I have recently moved a fully functional WordPress site with a WooCommerce store to a new host. I seem to have a problem with Geolocation. This was working when I initially installed the site on the new host – I did a test transaction and my country was detected. In the process of resolving some other issues with the migration the Geolocation seems to have been broken. Now, the checkout page will only the display the default store currency, not the local currency. Also, there is no Geolocation Debug Data displayed on the WooCommerce > Status page, which leads me to suspect an issue with the MaxMind integration. I have tried generating a new MaxMind key, but even when I remove the key completely and save the changes, I don’t see any errors.

    Any thoughts would be greatly appreciated.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Stef

    (@serafinnyc)

    This usually happens if your new host is not allowing access to or from certain IP addresses. MaxMind IPs are here. Please make sure you’re not using any security apps that are blocking and request to your host that these IPs are added to the whitelist of IPs in the firewall or wherever they may be blocking.

    Thread Starter bidoowee

    (@bidoowee)

    @serafinnyc – Thanks for your reply.

    The host has checked those IP addresses and they are not blocked.

    Do you know if there is a log somewhere that would show the results of the attempt to access the service? From what I have read, this would normally be the Geolocation Debug data in the Status page of WooC, but that is not showing.

    Plugin Support Rajesh K. (woo-hc)

    (@rajeshml)

    Hello @bidoowee,

    Thanks for reaching out to WooCommerce support. I understand you’re experiencing an issue with MaxMind Geolocation after migrating your site to a new host.

    Usually when Geolocation has been enabled and configured correctly, Geolocation debug info should show up. Can you please confirm it is configured correctly as per the documentation here?

    Can you please also share screenshots of how you set the geolocation so we can take a look? Please make sure to blur any sensitive information.

    I recommend using?https://snipboard.io. You can share the direct link to the image as a response to this topic.

    Looking forward to your response.

    Thread Starter bidoowee

    (@bidoowee)

    Hi @rajeshml

    Thanks for your response. As I mentioned in the initial post, I am relatively confident that the configuration is correct, especially as Geolocation was working for several years before the migration and was working initially when the backup was first moved to the new host. Nonetheless:

    https://snipboard.io/WdwHOj.jpg

    https://snipboard.io/2G9eWh.jpg

    https://snipboard.io/2L6K1Y.jpg

    There is still no Geolocation debug info in the Status page.

    I am not sure exactly at what point the Geolocation stopped working. There were quite a few issues with getting SSL to work and a number of plugins including WooCommerce Payments have been upgraded since the initial installation on the new host.

    Debugging this would be quite a bit simpler if there were a log somewhere – is there one?

    Many thanks,

    Thomas

    ?? hey @bidoowee

    Thank you for reaching back, with further details on this.

    MaxMind Geolocation stopped working after migration

    I went ahead with visiting the site at https://lapera.ca/, and it appears geolocation works as expected. My current location is Spain, indeed.

    Below, I am attaching a screenshot, for reference.

    Direct link to image: https://snipboard.io/WKpy4q.jpg

    I hope this is helpful! Please let us know if you have any further questions or concerns.
    We will be happy to help you further.

    Thread Starter bidoowee

    (@bidoowee)

    Hi @anastas10s

    Many thanks for the reply. Yes, I made the same discovery at the end of the day yesterday. The geolocation works for everyone except me, when I’m logged in to the back end. Other than wasting a lot of time, this isn’t really a problem. If it works, it works. Just out of curiosity, I guess I will create a new admin user and see if that resolves the issue.

    https://snipboard.io/jOR6e1.jpg

    Thomas

    Hey, @bidoowee!

    Just out of curiosity, I guess I will create a new admin user and see if that resolves the issue.

    Please let us know how it goes and if you want us to keep helping you troubleshoot this to figure out why it is happening ??

    Have a wonderful day!

    Thread Starter bidoowee

    (@bidoowee)

    Hi @carolm29

    Thanks for your reply. Creating a new user seems to have resolved the issue. I still do not see the Geolocation Debug Data in the WooCommerce System Status – but if it works, it works.

    Plugin Support omarfpg a11n

    (@omarfpg)

    Hi @bidoowee,

    We’re happy to learn that creating a new account resolved the issue. I’ll share your questions and feedback about debugging Geolocation with our developers.

    Thanks!
    -OP

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.