UK site, paypal error iso-code

Open to all! Ask other shopowners for help.
Post Reply
User avatar
RAC
Member
Posts: 66
Joined: Mon Apr 19, 2021 5:36 am
Phoenix Version: v1.1.0.6
Has thanked: 9 times
Been thanked: 1 time

UK site, paypal error iso-code

Post by RAC »

Hello all.

I am getting an error in paypal/express.php.

[01-Feb-2022 09:15:59 Europe/London] PHP Notice: Undefined index: name in /home/**********/public_html/ext/modules/payment/paypal/express.php on line 46
[01-Feb-2022 09:15:59 Europe/London] PHP Notice: Undefined index: iso_code_2 in /home/**********/public_html/ext/modules/payment/paypal/express.php on line 47
[01-Feb-2022 09:15:59 Europe/London] PHP Notice: Undefined index: iso_code_3 in /home/**********/public_html/ext/modules/payment/paypal/express.php on line 48
[01-Feb-2022 09:15:59 Europe/London] PHP Notice: Undefined index: format_id in /home/**********/public_html/ext/modules/payment/paypal/express.php on line 49

Lines 46-49 are :
'country_name' => $country['name'],
'country_iso_code_2' => $country['iso_code_2'],
'country_iso_code_3' => $country['iso_code_3'],
'address_format_id' => $country['format_id'],


Running version 1.0,8,10.

TIA Shaun.


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
mhsuffolk
Contributor
Posts: 199
Joined: Sat Oct 26, 2019 9:13 am
Phoenix Version: v1.1.0.6
Has thanked: 13 times
Been thanked: 11 times

Re: UK site, paypal error iso-code

Post by mhsuffolk »

The UK has changed some codes from GB to UK, car number plates for example. Have PayPal changed something?
User avatar
RAC
Member
Posts: 66
Joined: Mon Apr 19, 2021 5:36 am
Phoenix Version: v1.1.0.6
Has thanked: 9 times
Been thanked: 1 time

Re: UK site, paypal error iso-code

Post by RAC »

Thanks for your reply,

After the error I have attempted to change UK to GB and GBR, under location and taxes, and changed the zone to GB, but this has made no difference at all.
Do you know of any files I would need to change?

I have also contacted PayPal but have received no reply so far.
User avatar
mhsuffolk
Contributor
Posts: 199
Joined: Sat Oct 26, 2019 9:13 am
Phoenix Version: v1.1.0.6
Has thanked: 13 times
Been thanked: 11 times

Re: UK site, paypal error iso-code

Post by mhsuffolk »

Is the currency GBP
User avatar
RAC
Member
Posts: 66
Joined: Mon Apr 19, 2021 5:36 am
Phoenix Version: v1.1.0.6
Has thanked: 9 times
Been thanked: 1 time

Re: UK site, paypal error iso-code

Post by RAC »

Yes it is.

Thanks.


Join The Code Co-op to get access to your library in the Code Co-op Forum
Post Reply