Page 1 of 1

PayPal gives error when returning to store

Posted: Mon Mar 07, 2022 12:41 am
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

Re: PayPal gives error when returning to store

Posted: Wed Mar 09, 2022 5:51 am
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

Re: PayPal gives error when returning to store

Posted: Wed Mar 09, 2022 1:28 pm
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