• Resolved wp_doubt

    (@wp_doubt)


    Hi,

    I have been using this plugin for some time but I’m having a big problem that I don’t know how to solve.

    I have 2 different pricing zones defined besides the default and they were working well. However, I decided to make the prices more appealing and I manually added the prices in the different products in each currency I’m using. And the problems started here.

    The default zone is in EUR. I have one zone in USD that is working well (in the 3 countries I defined), and then I have a zone in GBP. And this one isn’t working. When I check the website using a UK IP address, I get to see the prices in EUR and not in GBP as they were supposed to be appearing. And yes, the shopping cart shows in GBP when I change the country but that’s not the point. I want my visitors to be able to see the prices for each product in their local currencies.

    Can you help?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Oscar Gare

    (@oscargare)

    Hi,
    the plugin can’t work for some pricing zones and and for others. It seems a geolocation problem.

    Did you set the free MaxMind license key?

    Are you sure your IP is a UK IP? Please review how to test with Tunnel Bear.

    Also, you should review:
    https://www.pricebasedcountry.com/docs/common-issues/not-work/

    Thread Starter wp_doubt

    (@wp_doubt)

    Hi,

    I have the MaxMind license key set up.

    Since I couldn’t get the plugin to work, I reboot the server to see if there was some kind of problem there that could fix the issue. While nothing changed – still have one zone not working and the other one working, I noticed that a new problem appeared under the Geolocation debug info tab:

    “The first IP not empty of your server variables does not match with your real IP.”

    Can this be related to the problem I’m experiencing? Any ideas to solve this?

    Thank you in advance.

    Plugin Author Oscar Gare

    (@oscargare)

    Hi,
    Are UK in the list of selling location(s)? (At WooCommerce > Settings > General)

    Could you test the following?
    – Add a product to the cart,
    – Go to the checkout page and uncheck “Ship to a different address?”
    – Change the billing country to UK.
    Is the product price and currency correct?

    Using a IP from UK, login in your wp-admin, What’s the info of the Geolocation debug section of your WooCommerce system report? Could you copy it here?

    Thank you.

    Thread Starter wp_doubt

    (@wp_doubt)

    Hi,

    1 – Yes, I accept orders from all countries.

    2 – I added the product to the cart and when I change the billing address to UK, the prices change to GBP.

    3 – Here’s the Geolocation debug section I get when logged in using an UK IP address:

    Geolocation debug info
    Default customer location: geolocation
    MaxMind GeoIP database:
    MaxMind license:
    MM_COUNTRY_CODE:
    GEOIP_COUNTRY_CODE:
    HTTP_CF_IPCOUNTRY:
    HTTP_X_COUNTRY_CODE:
    HTTP_X_REAL_IP: 51.89.139.87
    HTTP_X_FORWARDED_FOR: 51.89.139.87
    REMOTE_ADDR: 217.23.4.46
    Real external IP: 51.89.139.87
    Const WCPBC_USE_REMOTE_ADDR: –
    Geolocation Test:

    * MaxMind GeoIP database:, MaxMind license:, and Geolocation Test: have a green tick that doesn’t display here…

    Plugin Author Oscar Gare

    (@oscargare)

    Hi,
    If the test of the checkout page works, then the plugin is working. It seems a problem in the WooCommerce geolocation function.

    The IPs seem correct.

    Try to test the geolocation with other VPN software. Also review:
    How to test Price Based on Country

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘One Pricing Zone Isn’t Working…’ is closed to new replies.