Page 1 of 1

PayPal adding undefines to error_log?

Posted: Thu Apr 01, 2021 12:38 am
by plamastus
Hi,

The error_log have been getting the following Undefined index from PayPal:

[31-Mar-2021 14:38:32 America/New_York] PHP Notice: Undefined index: name in /home/site/public_html/ext/modules/payment/paypal/express.php on line 46
[31-Mar-2021 14:38:32 America/New_York] PHP Notice: Undefined index: iso_code_2 in /home/site/public_html/ext/modules/payment/paypal/express.php on line 47
[31-Mar-2021 14:38:32 America/New_York] PHP Notice: Undefined index: iso_code_3 in /home/site/public_html/ext/modules/payment/paypal/express.php on line 48
[31-Mar-2021 14:38:32 America/New_York] PHP Notice: Undefined index: format_id in /home/site/public_html/ext/modules/payment/paypal/express.php on line 49
[31-Mar-2021 14:38:32 America/New_York] PHP Notice: Undefined index: in /home/site/public_html/includes/apps/paypal/OSCOM_PayPal.php on line 618
[31-Mar-2021 14:38:32 America/New_York] PHP Notice: Trying to access array offset on value of type null in /home/site/public_html/includes/apps/paypal/OSCOM_PayPal.php on line 618
[31-Mar-2021 14:38:32 America/New_York] PHP Notice: Undefined index: in /home/site/public_html/includes/apps/paypal/OSCOM_PayPal.php on line 618
[31-Mar-2021 14:38:32 America/New_York] PHP Notice: Trying to access array offset on value of type null in /home/site/public_html/includes/apps/paypal/OSCOM_PayPal.php on line 618


Thanks,

Patrick

Re: PayPal adding undefines to error_log?

Posted: Thu Apr 01, 2021 12:56 am
by ecartz
My first thought is that you have your STORE_COUNTRY set to an invalid value. admin > Configuration > My Store > Country.

Re: PayPal adding undefines to error_log?

Posted: Thu Apr 01, 2021 7:42 pm
by plamastus
Hi,

It's set to:
Admin => Configuration => My Store
Country United States

Thanks,

Patrick