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/
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.
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.
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…
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