Page 1 of 1

PayPal Express not working after upgrade to 3.0.3.1

Posted: Sat Jan 12, 2019 12:16 am
by sjgarth
After upgrade to 3.0.3.1 everything works fine except the PayPal Express extension.
The only extensions I have are the included PayPal Express and purchased GDPR Module. The site was working fine before the update, and no changes were made during the update. The update was by Softaculous.
When processing the payment all the normal options are there, but when the customer clicks on the yellow/gold PayPal button they get the PayPal popup box with something like;
{"token":"EC-42Y453306A965952G"}
at the top.
The sale fails.
I have uninstalled and reinstalled the PayPal Express extension and I have regenerated the credentials all with no success.
There were no errors in the error log, so I turned on the debug function in the extension and the following was in the error log (personal details removed);

Code: Select all

2019-01-11 23:54:37 - PayPal Express debug (Call data): {"METHOD":"SetExpressCheckout","MAXAMT":2.25,"RETURNURL":"https:\/\/shop.rblr.co.uk\/ocart2\/index.php?route=extension\/payment\/pp_express\/checkoutReturn","CANCELURL":"https:\/\/shop.rblr.co.uk\/ocart2\/index.php?route=checkout\/checkout","REQCONFIRMSHIPPING":0,"NOSHIPPING":0,"LANDINGPAGE":"Login","LOGOIMG":null,"CHANNELTYPE":"Merchant","PAYMENTREQUEST_0_SHIPTONAME":"Steve Garth","PAYMENTREQUEST_0_SHIPTOSTREET":"47 Xxxxxxx Xxxxxxx","PAYMENTREQUEST_0_SHIPTOSTREET2":"Xxxxxxxx","PAYMENTREQUEST_0_SHIPTOCITY":"Doncaster","PAYMENTREQUEST_0_SHIPTOSTATE":"South Yorkshire","PAYMENTREQUEST_0_SHIPTOZIP":"XX12 2XX","PAYMENTREQUEST_0_SHIPTOCOUNTRYCODE":"GB","ADDROVERRIDE":1,"PAYMENTREQUEST_0_SHIPPINGAMT":"","PAYMENTREQUEST_0_CURRENCYCODE":"GBP","PAYMENTREQUEST_0_PAYMENTACTION":"Sale","L_PAYMENTREQUEST_0_DESC0":"","L_PAYMENTREQUEST_0_NAME0":"RBLR Branch Crest Sticker Small EXTERNAL","L_PAYMENTREQUEST_0_NUMBER0":"S004","L_PAYMENTREQUEST_0_AMT0":1.5,"L_PAYMENTREQUEST_0_QTY0":"1","L_PAYMENTREQUEST_0_ITEMURL0":"https:\/\/shop.rblr.co.uk\/ocart2\/index.php?route=product\/product&product_id=100","L_PAYMENTREQUEST_0_ITEMLENGTHVALUE0":"9.50000000","L_PAYMENTREQUEST_0_ITEMLENGTHUNIT0":"cm","L_PAYMENTREQUEST_0_ITEMWIDTHVALUE0":"7.50000000","L_PAYMENTREQUEST_0_ITEMWIDTHUNIT0":"cm","L_PAYMENTREQUEST_0_ITEMHEIGHTVALUE0":"0.00000000","L_PAYMENTREQUEST_0_ITEMHEIGHTUNIT0":"cm","L_PAYMENTREQUEST_0_NUMBER1":"shipping","L_PAYMENTREQUEST_0_NAME1":"UK Shipping  (Weight: 0.00Pnts)","L_PAYMENTREQUEST_0_AMT1":1.75,"L_PAYMENTREQUEST_0_QTY1":1,"PAYMENTREQUEST_0_ITEMAMT":"3.25","PAYMENTREQUEST_0_AMT":"3.25"}

2019-01-11 23:54:38 - PayPal Express debug (Result): "TOKEN=EC%2d1RF12894U4844163N&TIMESTAMP=2019%2d01%2d11T23%3a54%3a39Z&CORRELATIONID=edd66df6462c7&ACK=Success&VERSION=109%2e0&BUILD=51125032"
The site is using PHP 7.2 (and was for a month at least without issue).

Any help would be appreciated.

Re: PayPal Express not working after upgrade to 3.0.3.1

Posted: Sat Jan 12, 2019 3:42 am
by xxvirusxx
Better restore to 3.0.2.0

Re: PayPal Express not working after upgrade to 3.0.3.1

Posted: Sat Jan 12, 2019 1:47 pm
by nguyenhoco2002
I using php 7.1 and Paypal Express woking fine with my website ^^

Re: PayPal Express not working after upgrade to 3.0.3.1

Posted: Sun Jan 13, 2019 1:05 am
by sjgarth
I have reduced PHP to 7.0 after trying 7.3, 7.2 and 7.1. I cannot go below 7.0 because of other software on my server.
Nothing made any difference. Everything works fine until I try to use paypal express, when i get the token message mentioned in original post.

Re: PayPal Express not working after upgrade to 3.0.3.1

Posted: Sun Jan 13, 2019 1:12 am
by OSWorX
sjgarth wrote:
Sun Jan 13, 2019 1:05 am
I have reduced PHP to 7.0 after trying 7.3, 7.2 and 7.1. I cannot go below 7.0 because of other software on my server.
Nothing made any difference. Everything works fine until I try to use paypal express, when i get the token message mentioned in original post.
No need to go back or lower.
Running myself and a view customers with php 7.2.x and PP-Express perfectly.
But, NOT 3.0.3.1 - 2.3.x and 3.0.2.x

Would suggest to use 3.0.2.x, not 3.0.3.1 without further investigation.

Re: PayPal Express not working after upgrade to 3.0.3.1

Posted: Sun Jan 13, 2019 1:45 am
by sjgarth
I agree that 3.0.3.1 is the issue and I tried to go back to 3.0.2.0 but it didn't work. I made the error of not backing up the database before the upgrade and, although everything seems to work, the PayPal Express extension PayPal link now appears for a second then disappears before the customer can insert their details.
I have removed the express extension and installed the standard extension which works fine.
Ce La Vie for a free shop which fulfils my expectations in every other way.
I will try a future update, but only after more carefully backing up.

Re: PayPal Express not working after upgrade to 3.0.3.1

Posted: Sat Mar 16, 2019 5:54 pm
by blocks1
Did anyone find a solution to this? i made my site with a fresh install of 3.0.3.1 so cannot downgrade..
is it not worth waiting until an upgrade can be made if there is no fix for the problem with paypal express?

Re: PayPal Express not working after upgrade to 3.0.3.1

Posted: Sun Mar 17, 2019 12:46 am
by straightlight
blocks1 wrote:
Sat Mar 16, 2019 5:54 pm
Did anyone find a solution to this? i made my site with a fresh install of 3.0.3.1 so cannot downgrade..
is it not worth waiting until an upgrade can be made if there is no fix for the problem with paypal express?
Sure did: viewtopic.php?f=201&t=210578

Re: PayPal Express not working after upgrade to 3.0.3.1

Posted: Mon Mar 18, 2019 6:40 pm
by blocks1
thankyou!