Post by jagall » Wed Mar 14, 2018 6:43 pm

Hi All, need help with this, wrecking my head over. Using OC 2.3.0.2 and journal 2 theme, Quick Checkout. Up until last week PayPal Express was working until my hosting company updated PHP version and CURL. So when customers go to checkout, and click the PayPal Express Button, it does bring them to PayPal site and all seems fine until you click the continue button link to confirm payment and all I get is blank screen https://www.sweetco.ie/index.php?route= ... essConfirm, the debug errors throw this up:

2018-03-14 10:19:40 - PHP Notice: Undefined variable: payment_address in /home/.../public_html/catalog/controller/extension/payment/pp_express.php on line 690
2018-03-14 10:19:40 - PHP Notice: Undefined variable: payment_address in /home/.../public_html/catalog/controller/extension/payment/pp_express.php on line 690
2018-03-14 10:19:40 - PHP Notice: Undefined variable: payment_address in /home/.../public_html/catalog/controller/extension/payment/pp_express.php on line 690
2018-03-14 10:19:40 - PHP Notice: Undefined variable: payment_address in /home/.../public_html/catalog/controller/extension/payment/pp_express.php on line 690
2018-03-14 10:19:40 - PHP Notice: Undefined variable: payment_address in /home/.../public_html/catalog/controller/extension/payment/pp_express.php on line 690
2018-03-14 10:19:40 - PHP Notice: Undefined variable: products in /home/.../public_html/catalog/view/theme/default/template/extension/payment/pp_express_confirm.tpl on line 77
2018-03-14 10:19:40 - PHP Warning: Invalid argument supplied for foreach() in /home/.../public_html/catalog/view/theme/default/template/extension/payment/pp_express_confirm.tpl on line 77
2018-03-14 10:20:07 - PHP Notice: Undefined variable: payment_address in /home/.../public_html/catalog/controller/extension/payment/pp_express.php on line 690
2018-03-14 10:20:07 - PHP Notice: Undefined variable: payment_address in /home/.../public_html/catalog/controller/extension/payment/pp_express.php on line 690
2018-03-14 10:20:07 - PHP Notice: Undefined variable: payment_address in /home/.../public_html/catalog/controller/extension/payment/pp_express.php on line 690
2018-03-14 10:20:07 - PHP Notice: Undefined variable: payment_address in /home/.../public_html/catalog/controller/extension/payment/pp_express.php on line 690
2018-03-14 10:20:07 - PHP Notice: Undefined variable: payment_address in /home/.../public_html/catalog/controller/extension/payment/pp_express.php on line 690
2018-03-14 10:20:07 - PHP Notice: Undefined variable: products in /home/.../public_html/catalog/view/theme/default/template/extension/payment/pp_express_confirm.tpl on line 77
2018-03-14 10:20:07 - PHP Warning: Invalid argument supplied for foreach() in /home/.../public_html/catalog/view/theme/default/template/extension/payment/pp_express_confirm.tpl on line 77
2018-03-14 10:23:44 - PayPal Express debug (Call data): {"METHOD":"SetExpressCheckout","MAXAMT":16.48,"RETURNURL":"https:\/\/www.sweetco.ie\/index.php?route=extension\/payment\/pp_express\/expressReturn","CANCELURL":"https:\/\/www.sweetco.ie\/index.php?route=checkout\/cart","REQCONFIRMSHIPPING":0,"NOSHIPPING":2,"ALLOWNOTE":"1","LOCALECODE":"EN","LANDINGPAGE":"Login","HDRIMG":"https:\/\/www.sweetco.ie\/image\/cache\/catalog\/sweetco\/...eetcologowithimage-750x90.png","PAYFLOWCOLOR":"","CHANNELTYPE":"Merchant","PAYMENTREQUEST_0_SHIPPINGAMT":"","PAYMENTREQUEST_0_CURRENCYCODE":"EUR","PAYMENTREQUEST_0_PAYMENTACTION":"Sale","L_PAYMENTREQUEST_0_DESC0":"","L_PAYMENTREQUEST_0_NAME0":"5c Cola Bottles","L_PAYMENTREQUEST_0_NUMBER0":"FIKD2010","L_PAYMENTREQUEST_0_AMT0":8.93,"L_PAYMENTREQUEST_0_QTY0":"1","L_PAYMENTREQUEST_0_ITEMURL0":"http:\/\/www.sweetco.ie\/5c-cola-bottles.html","L_PAYMENTREQUEST_0_ITEMWEIGHTVALUE0":"1.40","L_PAYMENTREQUEST_0_ITEMWEIGHTUNIT0":"kg","L_PAYMENTREQUEST_0_NUMBER1":"tax","L_PAYMENTREQUEST_0_NAME1":"VAT @ 23%","L_PAYMENTREQUEST_0_AMT1":2.05,"L_PAYMENTREQUEST_0_QTY1":1,"PAYMENTREQUEST_0_ITEMAMT":"10.98","PAYMENTREQUEST_0_AMT":"10.98"}
2018-03-14 10:23:45 - PayPal Express debug (Result): "TOKEN=EC%2d9WW52190UK2481621&TIMESTAMP=2018%2d03%2d14T10%3a23%3a47Z&CORRELATIONID=4e6b5c061f819&ACK=Success&VERSION=109%2e0&BUILD=43953382"
2018-03-14 10:24:12 - PayPal Express debug (Call data): {"METHOD":"GetExpressCheckoutDetails","TOKEN":"EC-9WW52190UK2481621"}

My hosting company are of the opinion I need to update my API credentials due to update in CURL, how do I do this?

Hope someone can shed light on this.
Many thanks

Newbie

Posts

Joined
Sat Feb 11, 2017 10:15 pm

Post by straightlight » Wed Mar 14, 2018 6:47 pm

What is on line 690 of your catalog/controller/extension/payment/pp_express.php file? More information is needed.

The most generated errors being found on Opencart forum originates from contributed programming. The increased counters are caused by posted redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 5 guests