IPN Not working

rafhelp
Contributor
Contributor

I have set up a notify_url url in my paypal buy now button code.

 

After some test real live purchases i found that the IPN message (with purchase info) is actually being sent to the IPN php file.

 

but it never gets verified.  In errorlogs on server i see these errors:

 

[14-Oct-2018 03:29:20 UTC] PHP Fatal error:  Uncaught Exception: cURL error: [77] error setting certificate verify locations:
  CAfile: /home/mysite/public_html/php/cert/cacert.pem
  CApath: none in /home/mysite/public_html/php/PaypalIPN.php:112
Stack trace:
#0 /home/mysite/public_html/mayapp/myappsipn.php(29): PaypalIPN->verifyIPN()
#1 {main}
  thrown in /home/mysite/public_html/php/PaypalIPN.php on line 112

 

Is this the reason the IPN is never verified and never completes as required?

 

In sandbox when using IPN simulator the handshaking nver worked and ipn test failed.

 

Im using the samples from here:

https://github.com/paypal/ipn-code-samples/tree/master/php

 

I have the php/cert/cacert.pem file in that location and set permission as 755 so the file is there

 

My IPN listener php file is hosted on GoDaddy and I dont have any SSL certificates, my site is just http.  Do you need SSL for IPN?

 

Any help appreciated.

 

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.