JanNovak123 Posted June 16, 2016 Share Posted June 16, 2016 Hello,I am using Prestashop 1.6.1.4 and I am currently using old module for Paypal (3.10.2) because new one does not allow me to configure settings. I get the following message:Your country is not available for this module please go on Prestashop addons to see the different possibilities. My default country is Slovenia which is on supported list. (http://addons.prestashop.com/en/1748-paypal.html) If I change my default country to United Kingdom it allows me to configure the module but I did not tried it because I am not sure if this is valid solution to my problem. I have already contacted a developer (month ago) but I just received some generic answer which doesn't answer on my problem. So my question is if changing default country is valid solution or are there any other solutions? It is pretty critical as I read that next month old modules will be blocked due to new security updates.I am looking forward for replyBest regardsJan Link to comment Share on other sites More sharing options...
bellini13 Posted June 17, 2016 Share Posted June 17, 2016 where do you see a supported list on the paypal europe module page you provided? Link to comment Share on other sites More sharing options...
JanNovak123 Posted June 17, 2016 Author Share Posted June 17, 2016 (edited) where do you see a supported list on the paypal europe module page you provided? Edited June 17, 2016 by JanNovak123 (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted June 17, 2016 Share Posted June 17, 2016 Ah ok, in the section you have to expand. So the module performs two checks. It compares the ISO Code of your store's country to an allowed list, or in another scenario it uses the language code to locate an allowed list. So I don't know what ISO code you have configured, or what language it is detecting, but you are getting that error message because the resulting country ISO Code is not in the allowed list. You can see the allowed list of ISO codes in AuthenticatePaymentMethods.php, which is include the paypal module classes folder Link to comment Share on other sites More sharing options...
JanNovak123 Posted June 17, 2016 Author Share Posted June 17, 2016 Ah ok, in the section you have to expand. So the module performs two checks. It compares the ISO Code of your store's country to an allowed list, or in another scenario it uses the language code to locate an allowed list. So I don't know what ISO code you have configured, or what language it is detecting, but you are getting that error message because the resulting country ISO Code is not in the allowed list. You can see the allowed list of ISO codes in AuthenticatePaymentMethods.php, which is include the paypal module classes folder Right now they updated the module to 3.10.10 and now it works. Looking in the file, they added a lot more ISO codes. [CASE SOLVED] Link to comment Share on other sites More sharing options...
bellini13 Posted June 18, 2016 Share Posted June 18, 2016 I had a feeling they may have done that... I wish they stated that in the change log notes... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now