Please can anyone shed any light on these errors I'm getting on PayPal Express every couple of days in the logs -
I've look through the forums and github issues, but no one seems to have 'hit the nail on the head'
https://github.com/opencart/opencart/co ... a1a8182aa7 - I also made this change.
2017-10-25 10:26:53 - PHP Warning: Cannot modify header information - headers already sent by (output started at admin/controller/startup/error.php:34) in system/library/response.php on line 12
2017-10-25 22:00:35 - PHP Notice: Undefined index: paypal in catalog/controller/extension/payment/pp_express.php on line 1373
2017-10-25 22:00:36 - PHP Notice: Undefined index: PAYERID in catalog/controller/extension/payment/pp_express.php on line 1378
2017-10-25 22:00:36 - PHP Notice: Undefined index: order_id in catalog/controller/extension/payment/pp_express.php on line 1381
2017-10-25 22:00:36 - PHP Notice: Undefined index: token in catalog/controller/extension/payment/pp_express.php on line 1384
Thanks, Liam
It is kind of odd that you mention to have a look on Github while the corresponding lines from the error logs do not correspond with the line number from this github file: https://github.com/opencart/opencart/bl ... xpress.php
In addition, your Opencart version was not provided on the first post.
Code: Select all
$paypal_data = array(
'TOKEN' => $this->session->data['paypal']['token'],
'PAYERID' => $this->session->data['paypal']['payerid'],
'METHOD' => 'DoExpressCheckoutPayment',
'PAYMENTREQUEST_0_NOTIFYURL' => $this->url->link('extension/payment/pp_express/ipn', '', true),
'RETURNFMFDETAILS' => 1
);
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 3 guests