Paypal order status not updated

Phoca Cart - complex e-commerce extension
Lucbe
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 27 Mar 2020, 13:45

Paypal order status not updated

Post by Lucbe »

Hi,
I installed Paypal standard on my PHOCACART shop
Payement works, however order status is not updated.
In the log I have the following messages :

Payment - PayPal Standard - ERROR (Listener Error)
https://XXX/index.php?option=com_phocac ... =component

Payment - PayPal Standard - ERROR
https://XXX/index.php?option=com_phocac ... =component

XXX is my url (correct)
I am lost, anybody can help ?

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Paypal order status not updated

Post by Jan »

Hi, the problems comes from this code:

plugins/pcp/paypal_standard/paypal_standard.php cca line 386

Code: Select all

try {

			$listener->setParams($p);
			$listener->requirePostMethod();
			$verified = $listener->processIpn();
			
			if (!$verified) {	
				PhocacartLog::add(1, 'Payment - PayPal Standard - ERROR', 0, $listener->getTextReport());	
			}
			
		} catch (Exception $e) {
			PhocacartLog::add(1, 'Payment - PayPal Standard - ERROR (Listener Error)', 0, $e->getMessage());
			exit(0);
		}
Try to see even your PHP errorLog on your server, if there is no more information.

Do you get more information in the log - is there some description?

Maybe there can be some limit on server when getting data from external server. But to know it, there needs to be more detailed error information :idea:

Jan
If you find Phoca extensions useful, please support the project
Lucbe
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 27 Mar 2020, 13:45

Re: Paypal order status not updated

Post by Lucbe »

I have this in _phocacart_logs

cURL error: [60] SSL certificate problem: unable to get local issuer certificate, User: Anonymous

cURL error: [60] SSL certificate problem: unable to get local issuer certificate, User: Anonymous
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Paypal order status not updated

Post by Jan »

Hi, try to disable the verification of SSL Certificate in Payment Options:

Image

Jan
If you find Phoca extensions useful, please support the project
Lucbe
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 27 Mar 2020, 13:45

Re: Paypal order status not updated

Post by Lucbe »

Hi Jan,

Thanks, your solution works, PayPal working now
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Paypal order status not updated

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply