My Geoip not working in my Site
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from Bamboo on January 16, 2020, 15:23I have purchased this plugin and found plugin is not working as per requirement it doesn't switch the currency according to country i have follow https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me/ these all steps still facing troubles in site. Please help asap
I have purchased this plugin and found plugin is not working as per requirement it doesn't switch the currency according to country i have follow https://currency-switcher.com/using-geolocation-causes-problems-doesnt-seem-to-work-for-me/ these all steps still facing troubles in site. Please help asap
Quote from Pablo Borysenco on January 17, 2020, 12:55Hello
1 You have disabled the location function - https://c2n.me/45y1FpO.png
Please try to read this article - https://c2n.me/45y1Tj7.png
2 you use caching on the site. Check option - https://c2n.me/45y1YAt.png
which server are you using? Do you use Bluehost OR cloudflare
I created test page - http://your_link/test-geoip/
But your server always shows the location as US. Contact to hosting support
Hello
1 You have disabled the location function - https://c2n.me/45y1FpO.png
Please try to read this article - https://c2n.me/45y1Tj7.png
2 you use caching on the site. Check option - https://c2n.me/45y1YAt.png
which server are you using? Do you use Bluehost OR cloudflare
I created test page - http://your_link/test-geoip/
But your server always shows the location as US. Contact to hosting support
Quote from Bamboo on January 20, 2020, 13:02We have contacted to our server they have checked the settings and said to us ----ask them to provide a requirement document OR log OR something like that.
Server support reply : Write back to plugin support team and ask them to provide a requirement document OR log OR something like that
We have contacted to our server they have checked the settings and said to us ----ask them to provide a requirement document OR log OR something like that.
Server support reply : Write back to plugin support team and ask them to provide a requirement document OR log OR something like that
Quote from Pablo Borysenco on January 20, 2020, 13:53Hello
Location is a feature of woocommerce ( https://c2n.me/45Akgox.jpg ) - All they need can be found here - \wp-content\plugins\woocommerce\includes\class-wc-geolocation.php function geolocate_ip
Hello
Location is a feature of woocommerce ( https://c2n.me/45Akgox.jpg ) - All they need can be found here - \wp-content\plugins\woocommerce\includes\class-wc-geolocation.php function geolocate_ip
Quote from Bamboo on January 20, 2020, 14:14Hello,
This is not what I meant. What I mean is that the server team told me that the reason why you are getting the US location each time is because the server location is set to US.
What we need to fetch is not server location but the location of the IP address from where the site is being accessed.
They said you would have some kind of log file which can store the IP addresses from where the site has been accessed from. Once we provide that log file to them, they will check the list of IP addresses and their locations to know from which country they are from.
If the locations are displayed properly on their side, then it would not be their issue but the coding issue.
Thanks
Hello,
This is not what I meant. What I mean is that the server team told me that the reason why you are getting the US location each time is because the server location is set to US.
What we need to fetch is not server location but the location of the IP address from where the site is being accessed.
They said you would have some kind of log file which can store the IP addresses from where the site has been accessed from. Once we provide that log file to them, they will check the list of IP addresses and their locations to know from which country they are from.
If the locations are displayed properly on their side, then it would not be their issue but the coding issue.
Thanks
Quote from Bamboo on January 21, 2020, 08:43Any update on this?
Any update on this?
Quote from Pablo Borysenco on January 21, 2020, 12:58Hello
I understood you! And wrote everything in a previous message.
My plugin does not determine the location of the user, it does woocommerce. My plugin takes all data from woocommerce.
I gave you the way where this function is executed. There are several ways to solve this! But this should be done on server support( Because they know in which variables the correct data is stored. ).
Example: Use this hook - https://c2n.me/45BrvHK.png to send correct currency codes
add_filter( 'woocommerce_geolocate_ip', function($code, $ip_address, $fallback, $api_fallback){
return $corect_country_code;
},20,4 );
Hello
I understood you! And wrote everything in a previous message.
My plugin does not determine the location of the user, it does woocommerce. My plugin takes all data from woocommerce.
I gave you the way where this function is executed. There are several ways to solve this! But this should be done on server support( Because they know in which variables the correct data is stored. ).
Example: Use this hook - https://c2n.me/45BrvHK.png to send correct currency codes
add_filter( 'woocommerce_geolocate_ip', function($code, $ip_address, $fallback, $api_fallback){
return $corect_country_code;
},20,4 );