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 » 27 Mar 2020, 13:49

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: 42557
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Paypal order status not updated

Post by Jan » 27 Mar 2020, 16:39

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 » 27 Mar 2020, 17:11

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: 42557
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Paypal order status not updated

Post by Jan » 28 Mar 2020, 20:47

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 » 02 Apr 2020, 10:33

Hi Jan,

Thanks, your solution works, PayPal working now

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

Re: Paypal order status not updated

Post by Jan » 02 Apr 2020, 20:57

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

Post Reply