Hi,
If you can't connect to the ipinfodb API, if you can't just reach the server or communicate with him, you can't have any kind of GB/UK problem because you can't even talk with the server.
The error message you got is the description of your problem.
I am sorry but I have already give you the answer and regarding the error message, the problem is not in our side.
I have no problem to call the ipinfodb API
api.ipinfodb.com/v3/ip-country/?ip=192.187.109.60&format=json
From:
- My place
- My OVH server
- The HikaShop server (hosted by OVH too)
You are asking for a solution and the only thing I can tell you is that the error message tell that it's a problem with CURL and the connection between your server and the "api.ipinfodb.com" server.
Since a long time, we have a patch in HikaShop
if(!empty($location->countryCode) && $location->countryCode =='UK'){
$location->countryCode='GB';
}
which translate UK to GB (because we use GB in HikaShop). So if the API returns GB instead of UK, it's not a problem at all.
There is no option handled by the plugin at all. The three features are using the same API and there is only one call to the API server to get the location (city and country). Using the country HikaShop use the right currency (associated to the country, in his database).
Because you have a problem for the connection with the API, nothing can work. That's a fact and we can't modify anything in HikaShop to make it work, because it's not relevant to HikaShop.
I am sorry but you have to accept that the answer that I gave you is the real answer.
The message that CURL return you is your problem, you have to trust this message and investigate in this direction.
Regards,