Paypal Express

Ask the community for help and support.
Post Reply
User avatar
zipurman
PhoenixCart Developer
PhoenixCart Developer
Posts: 470
Joined: Tue Oct 13, 2020 5:20 pm
Has thanked: 84 times
Been thanked: 147 times

Paypal Express

Post by zipurman »

Using paypal express, CEP 1.0.8.3 I get an error on the paypal return of:

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'] );
}
Anyone else experienced issues with this? After the above fix, all works great.
zipurman
aka Preston Lord
-----------
Happy to help where I can ;)

https://phoenixaddons.com
https://www.youtube.com/zipurman/ ** PHOENIX HOW-TO VIDEOS **
Image
User avatar
edfaught
Posts: 49
Joined: Mon Oct 26, 2020 3:22 pm
Has thanked: 4 times
Been thanked: 2 times

Re: Paypal Express

Post by edfaught »

Me too, an old issue:
viewtopic.php?f=10&t=551
Post Reply