PayPal gives error when returning to store

Open to all! Ask other shopowners for help.
Post Reply
notebook
Posts: 2
Joined: Wed Feb 23, 2022 12:04 am
Phoenix Version:
Has thanked: 1 time

PayPal gives error when returning to store

Post by notebook »

CE Phoenix cart 1.0.8.11
PHP 7.4.28

Can anyone help

After going through the payment process using PayPal exspress checkout when returning to the store conformation page i receive the following message

Notice: Undefined variable: ship_suburb in /homepages/xx/xxxxx/xxx/catalog/ext/modules/payment/paypal/express.php on line 432

Notice: Undefined variable: ship_suburb in /homepages/xx/xxxxx/xxx/catalog/ext/modules/payment/paypal/express.php on line 443

Warning: Cannot modify header information - headers already sent by (output started at /homepages/xx/xxxxx/xxx/catalog/ext/modules/payment/paypal/express.php:432) in /homepages/xx/xxxxx/xxx/catalog/includes/system/versioned/1.0.8.5/href.php on line 168


Join The Code Co-op to get access to your library in the Code Co-op Forum
User avatar
Kofod95
Senior Contributor
Posts: 748
Joined: Sat Feb 06, 2021 7:38 pm
Phoenix Version: 1.0.8.20
Has thanked: 99 times
Been thanked: 179 times

Re: PayPal gives error when returning to store

Post by Kofod95 »

Sorry for the late answer!

It seems that you have a non-core express.php, as the line numbers don't match those in a core 1.0.8.11.
I would make sure you have this line or even better - make sure your file is the actual core file

//Daniel
I'm not smart, but sometimes even a blind chicken can find a corn.
Here are a lot of corns: Phoenix user guide
notebook
Posts: 2
Joined: Wed Feb 23, 2022 12:04 am
Phoenix Version:
Has thanked: 1 time

Re: PayPal gives error when returning to store

Post by notebook »

Thanks for the reply
I will look at this tonight but I have found that if I enter info into address line 2 all seames to be working as it should
I had set this line to not required


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