Jump to content

Your country is not available for this module


sooly

Recommended Posts

Hello,

 

Im from Czech Republic, having czech translations in Prestashop.

 

Im not able to install PayPayl Europe. 

 

Everytime I try to install I get this error:

 

Your country is not available for this module please go on Prestashop addons to see the different possibilities.

 

Can anybody help me how to solve this problem?

 

Thanks.

Link to comment
Share on other sites

Hi,

same here, I'm also from CZ, PS 1.6.1.4. Module installation works fine, but configuration gives "Your country is not available..."

Seems something goes wrong here:

modules/paypal/views/templates/admin/back_office.tpl
at line
        {if $PayPal_allowed_methods}

If you change it (for testing only) to {if not $PayPal_allowed_methods} it will show you configuration options. This is not the solution of course.

It's populated here:

paypal.php:            'PayPal_allowed_methods' => $this->getPaymentMethods(),

If someone could debug what getPaymentMethods() does probably we'd identify the root cause.. Developers' comments are also welcome :)

Edited by avd (see edit history)
Link to comment
Share on other sites

paypal europe was the only paypal version i could find that was free.....there was a usa/canada version....that wouldnt install at all.......ive looked for the version your use and cant find any where to download it.... i have two websites and it works fine on the original site.....not on the new one tho.....

Link to comment
Share on other sites

for anyone thats having the same issue i just received this email from paypal.....

 

Dear ,

My name is Lauren and I'm a manager on the Product and Site Support team. I understand you've contacted PayPal regarding certain parts of your website appearing in French. I've just tried calling you to advise, however your mobile number went to voicemail and I left you a message.

Regarding the issue you're having on your website, thank you for uploading a screenshot to show that certain messages on your website are appearing in French instead of English. After reviewing your website I can see it looks as though it has been integrated with a third party shopping cart and although the error message says 'PayPal response', this error is showing on your website side.

I can see one of the error codes is 10002 which normally means there is an issue with the API (application programming interface) being used/not being integrated correctly.

You can refer to our developer website for more information on this error code - https://developer.paypal.com/docs/classic/api/errorcodes/ - please be aware there are multiple reasons detailed on our developer site for error 10002, so it can be anyone of these reasons.

Regarding some of the messages appearing in French, this is also something that will have been done by your developer in error and more than likely some form of coding which has been put in this way, to cause some of the message being in French.

I would advise that you speak to either your website developer or third party shopping cart you're using for your website, as the reason for this error code, is due to PayPal being integrated wrong on your website and due to the error message appearing on your website side, this means it is an issue with the integration.

Thank you for your time.

Yours sincerely,
Lauren
PayPal 

Link to comment
Share on other sites

Hi Lynne B!

 

There is nothing you need to worry about. The message you get on most modules right now. Only you know that it is a module that comes from a known publisher then just continue with the installation.

 

Best regards

MacRoy

  • Like 1
Link to comment
Share on other sites

hiya macroy..... i did install it quite a few times.......as ive used it before i sorta guessed it was okay.....my problem is it doesn't work and its all in french..and i'm pretty sure its configured as it should be.......its now driving me towards the chocolate......:-))))))

Link to comment
Share on other sites

I tried {if not $PayPal_allowed_methods} but Im not able to save configuration. Getting another error.

 

Then i tried GitHub version and im getting still same error:

 

Your country is not available for this module please go on Prestashop addons to see the different possibilities.

 

I even tried to copy paypal from my other shop where it works but Im getting still the same error.

 

I have no idea what to do.

  • Like 1
Link to comment
Share on other sites

We are in the UK and have the same issue. Downloaded and installed 3.10.6, can't configure it. Switched default country to France. Now it lets us configure it and it worked at checkout. As soon as the customer changes country to UK payment option for paypal disappears.

Who ever built the last version messed up badly. Does anyone know a way to download an old verions? we had 3.10.2 run without issues.

  • Like 1
Link to comment
Share on other sites

Ok guys, for CZ :)

classes/AuthenticatePaymentMethods.php

for some reason we have there:

        $payment_method = array(
            'AU' => array(WPS, HSS, ECS),
            'BE' => array(WPS, ECS),
            'CN' => array(WPS, ECS),
            'CZ' => array(),
...

 

Change to

'CZ' => array(WPS, ECS),  //dunno thou if it's allowed :)

but after that config options are displayed.

 

GB/UK is not there at all, so you'll have to add it. Check in previous version if you have one what is there.

  • Like 1
Link to comment
Share on other sites

UK guys,

in AuthenticatePaymentMethods.php you are here:

 public static function getPaymentMethodsRetroCompatibilite($iso_code)

...

'GB' => array(WPS, HSS, ECS),

 

but not here:

    public static function getPaymentMethodsByIsoCode($iso_code)

 

so I guess copy-paste will be fine for you.

  • Like 1
Link to comment
Share on other sites

This module has always caused issues n my prestashop any version,

Usually it's that "no payment module installed" message during checkout.

Now I can't access tha configuration section of the latest paypal europe payment module.

Your country is not available for this module please go on Prestashop addons to see the different possibilities.

I just contacted the developer, hope they reply soon.

Edited by sounds (see edit history)
Link to comment
Share on other sites

Thanks,

 

I but tried adding 'IE' => array(WPS, HSS, ECS), no joy, maybe I'm missing something else.

 

EDIT

 

Had to add IE to 4 sections, works for now, thanks

 

 

 

    public static function getCountryDependency($iso_code)
    {
        $localizations = array(
            'AU' => array('AU'),
            'BE' => array('BE'),
            'CN' => array('CN', 'MO'),
            'CZ' => array('CZ'),
            'DE' => array('DE'),
            'ES' => array('ES'),
            'FR' => array('FR'),
            'HK' => array('HK'),
            'IE' => array('IE'),
 
 
 
    public static function getPaymentMethodsByIsoCode($iso_code)
    {
 
        // WPS -> Web Payment Standard
        // HSS -> Web Payment Pro / Integral Evolution
        // ECS -> Express Checkout Solution
        // PPP -> PAYPAL PLUS
 
        $payment_method = array(
            'AU' => array(WPS, HSS, ECS),
            'BE' => array(WPS, ECS),
            'CN' => array(WPS, ECS),
            'CZ' => array(),
            'DE' => array(WPS, ECS, PPP),
            'ES' => array(WPS, HSS, ECS),
            'FR' => array(WPS, HSS, ECS),
            'HK' => array(WPS, HSS, ECS),
            'IE' => array(WPS, HSS, ECS),
 
 
 
    public static function getCountryDependencyRetroCompatibilite($iso_code)
    {
        $localizations = array(
            'AU' => array('AU'), 'BE' => array('BE'), 'CN' => array('CN', 'MO'),
            'CZ' => array('CZ'), 'DE' => array('DE'), 'ES' => array('ES'),
            'FR' => array('FR'), 'GB' => array('GB'), 'HK' => array('HK'), 'IE' => array('IE'), 'IL' => array(
                'IL'), 'IN' => array('IN'), 'IT' => array('IT', 'VA'),
 
 
 
        $payment_method = array(
            'AU' => array(WPS, HSS, ECS),
            'BE' => array(WPS, ECS),
            'CN' => array(WPS, ECS),
            'CZ' => array(),
            'DE' => array(WPS, ECS, PPP),
            'ES' => array(WPS, HSS, ECS),
            'FR' => array(WPS, HSS, ECS),
            'GB' => array(WPS, HSS, ECS),
            'HK' => array(WPS, HSS, ECS),
            'IE' => array(WPS, ECS),
Edited by sounds (see edit history)
Link to comment
Share on other sites

I tried editing code to re-include UK support  - no luck. All I get is error saving the configuration on setup (version 3.10.6) This is the only version usable after June as it supports TLS 1.2 - all earlier versions will fail.

 

Support for UK now removed:

 

This module is available for the following countries: France, Italy, the Netherlands, Luxembourg, Belgium, Spain, Portugal, Germany, Austria, Switzerland, Norway, Sweden, Finland, Denmark, Turkey, Israel, Bulgaria, Czech Republic, Poland, Greece, Hungary, Romania, Slovakia, Slovenia, Ukraine, Russia.
But also Asia, Oceania and Latin America, except Mexico.


For USA & Canada, please use PayPal USA & Canada module
For United Kingdom & Ireland, please use Paypal Direct Payments module
For Mexico please use Paypal Mexico module

 

 

Prestashop now want everyone in UK and Ireland to buy a Paypal module @ £134.99

  • Like 1
Link to comment
Share on other sites

thanks for the info ukbaz...... i sorta guessed thats how it was going to be......no way will i be paying £135 for the module.....personally i would rather scrap my websites and use other options,,,,,where theres a will.......theres a way :-))))

  • Like 1
Link to comment
Share on other sites

So all you have to do is make sure your prestashop or server/hosting supports TLS 1.2

My prestashop just showed a green check mark stating my setup supports the use of tls 1.2 (Europe module)

 

Is the developer dropping out some countries? looks like he did a separate module for some countries now.

There's one for UK and Ireland also.. time to re-config again

 

I just seen it's 179.99 euro for the UK Ireland module, jesus this is some rip off merchant platform.

Edited by sounds (see edit history)
Link to comment
Share on other sites

Hi Sounds

 

In the latest update version 3.10.6 of the paypal europe module UK is excluded and it does not work. The PayPal payments direct module only handles Card transactions as well, so unless someone at Prestashop changes their mind and gets the developer to include UK in Europe then we are all screwed!

  • Like 1
Link to comment
Share on other sites

I better leave it alone for now then, I man the paypal eu module seems to go through the full checkout to paypal.

I'll probably forget and update it down the line and be screwed again.. that paypal integration should be free, part of prestashop.

The world's most used payment processor and it's not included.

  • Like 3
Link to comment
Share on other sites

what about sites with an already working version of paypal module? surely prestashop and paypal will both lose a lot of revenue from small biz peeps like me and sadly it will put a lot of out of business....i was also under the impression that if your hosting supports TLS 1.2 then we should be okay...is that not the case? 

Link to comment
Share on other sites

Did you try adding UK or GB in the 4 sections like I had to? (EU module)

Anyway I think this well known payment processor "Paypal" should be part of any e-commerce platform.

 

public static function getCountryDependency($iso_code)
    {
        $localizations = array(
            'AU' => array('AU'),
            'BE' => array('BE'),
            'CN' => array('CN', 'MO'),
            'CZ' => array('CZ'),
            'DE' => array('DE'),
            'ES' => array('ES'),
            'FR' => array('FR'),
            'HK' => array('HK'),
            'IE' => array('IE'),
 
 
 
    public static function getPaymentMethodsByIsoCode($iso_code)
    {
 
        // WPS -> Web Payment Standard
        // HSS -> Web Payment Pro / Integral Evolution
        // ECS -> Express Checkout Solution
        // PPP -> PAYPAL PLUS
 
        $payment_method = array(
            'AU' => array(WPS, HSS, ECS),
            'BE' => array(WPS, ECS),
            'CN' => array(WPS, ECS),
            'CZ' => array(),
            'DE' => array(WPS, ECS, PPP),
            'ES' => array(WPS, HSS, ECS),
            'FR' => array(WPS, HSS, ECS),
            'HK' => array(WPS, HSS, ECS),
            'IE' => array(WPS, HSS, ECS),
 
 
 
    public static function getCountryDependencyRetroCompatibilite($iso_code)
    {
        $localizations = array(
            'AU' => array('AU'), 'BE' => array('BE'), 'CN' => array('CN', 'MO'),
            'CZ' => array('CZ'), 'DE' => array('DE'), 'ES' => array('ES'),
            'FR' => array('FR'), 'GB' => array('GB'), 'HK' => array('HK'), 'IE' => array('IE'), 'IL' => array(
                'IL'), 'IN' => array('IN'), 'IT' => array('IT', 'VA'),
 
 
 
        $payment_method = array(
            'AU' => array(WPS, HSS, ECS),
            'BE' => array(WPS, ECS),
            'CN' => array(WPS, ECS),
            'CZ' => array(),
            'DE' => array(WPS, ECS, PPP),
            'ES' => array(WPS, HSS, ECS),
            'FR' => array(WPS, HSS, ECS),
            'GB' => array(WPS, HSS, ECS),
            'HK' => array(WPS, HSS, ECS),
            'IE' => array(WPS, ECS),
 
Edited by sounds (see edit history)
  • Like 1
Link to comment
Share on other sites

So... If I change my Prestashop default country to one of the supported ones, will I get access to the config section? I am from Moldova and running my shop here, but my Paypal account is of Romania, which is an allowed one.
I get same errors....

 

 

 

Edit:


I changed default country to France. Saved, went to module menu. Uploaded the module, as it doesnt appear in the search window. And after upload, hitting Install button, shoots me out with the same rror about country incompatibility....

How can I use Paypal at all?

 

 

 

Edit:

 

Actually, choosing France gave me access to config the module, and succesfully setup the account. But anyway, payment option does not appear in the checkout section.

Edited by MangoPolo (see edit history)
Link to comment
Share on other sites

Hi Sounds

 

Seems like I've got UK as an option now - misplaced comma in public static function getCountryDependency($iso_code) wouldn't let me save info as UK :)

 

Have you had it successfully collect payments by both card and paypal account?

 

Cheers

Barry

Link to comment
Share on other sites

Hi,

 

I haven't even thought about processing cards because if paypal works, that's all we will need.

I mean who doesn't use paypal, it's secure and you don't need to collect people's credit card info on your site.

The only down side is the devs of prestashop think it's ok for someone to charge people 179$ for the module.

For now the checkout works through to paypal.

Edited by sounds (see edit history)
Link to comment
Share on other sites

this is what happens when i try and install paypal on my prestashop attachicon.gifScreen Shot 2016-04-14 at 17.35.13.png

 

Same problem, but it works after I change BO language  from EN to my local language.

I also change the code in logos.xml to get paypal logo show up for default language:

<country iso_code="default">

<LocalPayPalHorizontalSolutionPP>http://my domain/modules/paypal/views/img/logos/TH_horizontal_solution_4_hk.gif</LocalPayPalHorizontalSolutionPP>

I'm not sure this is the right way or not.

 

2yywp6t.jpg

Edited by sseleraci (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...

I totally understand you guy's sentiment. This was not acceptable in my opinion either. I will keep a version working for the UK until there is an official release, so don't worry about that. 

  • Like 2
Link to comment
Share on other sites

  • 4 weeks later...

The new Payment module - PayPal v3.10.10 - by PrestaShop - appears to work for the UK.

 

The only issue I have spotted is a couple of broken image links that are not referencing the installation subdirectory.

Just need to hunt through the code to find the code that is used to select the paypal payment option and the successfully completed transaction page.

(If anyone knows these can you pass post here so I dont need to search through the code)

 

Cheers,

Derek

Link to comment
Share on other sites

  • 1 month later...

ALL the payment modues are dissapearing when having an UK adress!  

- Not only Paypal, but also all the others. 
WHY is this?  I am testing with local Norwegian/Danish/Italian/Canadian adresses.  Everything works then.

- BUT not when having an English/UK adress.

Can PrestaShop fix this problem ASAP??

- Loosing orders....

Steinar www.prosim.no

Link to comment
Share on other sites

 

Did you try adding UK or GB in the 4 sections like I had to? (EU module)

Anyway I think this well known payment processor "Paypal" should be part of any e-commerce platform.

 

public static function getCountryDependency($iso_code)
    {
        $localizations = array(
            'AU' => array('AU'),
            'BE' => array('BE'),
            'CN' => array('CN', 'MO'),
            'CZ' => array('CZ'),
            'DE' => array('DE'),
            'ES' => array('ES'),
            'FR' => array('FR'),
            'HK' => array('HK'),
            'IE' => array('IE'),
 
 
 
    public static function getPaymentMethodsByIsoCode($iso_code)
    {
 
        // WPS -> Web Payment Standard
        // HSS -> Web Payment Pro / Integral Evolution
        // ECS -> Express Checkout Solution
        // PPP -> PAYPAL PLUS
 
        $payment_method = array(
            'AU' => array(WPS, HSS, ECS),
            'BE' => array(WPS, ECS),
            'CN' => array(WPS, ECS),
            'CZ' => array(),
            'DE' => array(WPS, ECS, PPP),
            'ES' => array(WPS, HSS, ECS),
            'FR' => array(WPS, HSS, ECS),
            'HK' => array(WPS, HSS, ECS),
            'IE' => array(WPS, HSS, ECS),
 
 
 
    public static function getCountryDependencyRetroCompatibilite($iso_code)
    {
        $localizations = array(
            'AU' => array('AU'), 'BE' => array('BE'), 'CN' => array('CN', 'MO'),
            'CZ' => array('CZ'), 'DE' => array('DE'), 'ES' => array('ES'),
            'FR' => array('FR'), 'GB' => array('GB'), 'HK' => array('HK'), 'IE' => array('IE'), 'IL' => array(
                'IL'), 'IN' => array('IN'), 'IT' => array('IT', 'VA'),
 
 
 
        $payment_method = array(
            'AU' => array(WPS, HSS, ECS),
            'BE' => array(WPS, ECS),
            'CN' => array(WPS, ECS),
            'CZ' => array(),
            'DE' => array(WPS, ECS, PPP),
            'ES' => array(WPS, HSS, ECS),
            'FR' => array(WPS, HSS, ECS),
            'GB' => array(WPS, HSS, ECS),
            'HK' => array(WPS, HSS, ECS),
            'IE' => array(WPS, ECS),
 

- IN what file can this be changed?

I have watched in the MODULES, but did not find any EU Module.

- ALL the payment modules disseapear when choosing UK adress.  Not only the Paypal.

??

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

I know this is an old thread but I want to add an update in case anyone else is having the same problem. After seeing the answer above I went to investigate this file, in my copy I found all countries were listed including GB so couldn't understand why I was getting the error message that my country was not supported.

 

Then I had a brainwave, what if the country identifier was actually being reported in lowercase so I opened up modules\paypal\classes\AuthenticatePaymentMethods.php

 

and added  

                 

                                    'gb'=>array(WPS, HSS, ECS),

 

into the Array right below the existing 'GB' entry and hey-presto it worked. I hope this helps anyone else with this same problem.

  • Like 1
  • Thanks 2
Link to comment
Share on other sites

  • 4 months later...
  • 1 month later...

I had a lot of problems with PayPal module, last functional version was PayPal 3.10.2. (I have Prestashop version PS 1.6.1.12 now). I solved my troubles (I am not seen country, error during activation module). It was very easy... just do update module to the last version PayPal to 3.11.4 and use paypal.php file from 3.10.2 version (change line 87 only to: $this->version = '3.11.4'), update (rewrite) by FTP client to module/paypal/paypal.php, everything functional. Success. 

Link to comment
Share on other sites

  • 9 months later...
Em 16/10/2016 em 2:37 PM, grumbley disse:

I know this is an old thread but I want to add an update in case anyone else is having the same problem. After seeing the answer above I went to investigate this file, in my copy I found all countries were listed including GB so couldn't understand why I was getting the error message that my country was not supported.

 

Then I had a brainwave, what if the country identifier was actually being reported in lowercase so I opened up modules\paypal\classes\AuthenticatePaymentMethods.php

 

and added  

                 

                                    'gb'=>array(WPS, HSS, ECS),

 

into the Array right below the existing 'GB' entry and hey-presto it worked. I hope this helps anyone else with this same problem.

Funcionou pra mim! // Worked for me!

Link to comment
Share on other sites

  • 3 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...