Undefined index: PAYMENTREQUEST_0_SHIPTOSTREET2 in ext/modules/payment/paypal/express.php on line 393, referer: https://www.sandbox.paypal.com/
This error happens on both live/sandbox.
I simply surrounded the line with a if !empy
Code: Select all
if (!empty($appPayPalEcResult['PAYMENTREQUEST_0_SHIPTOSTREET2'])) {
$ship_suburb = tep_db_prepare_input( $appPayPalEcResult['PAYMENTREQUEST_0_SHIPTOSTREET2'] );
}