-->

Web.config - PayPal IPN Listener - HTTP error code

2019-09-13 00:28发布

问题:

I am trying to get my PayPal IPN Listener to work on my Live environment, it works on Staging perfectly and the issue is something to do with the web.config file:

(http://pastebin.com/B8YhJEZK)

I am using "https://developer.paypal.com/us/cgi-bin/devscr" and the Instant Payment Notification (IPN) simulator to test the web service however I am getting the following:

"IPN delivery failed. HTTP error code 500: Internal Server Error"

回答1:

You might want to read this announcment from PayPal in regards to some changes they made to their Instant Notification Service (ipn).

enter link description here

also, check your code and see if you have something similar to this:

$fp = fsockopen($host,"80",$err_num,$err_str,30); 

And try changing it to something like this:

$fp = fsockopen('ssl://'.$host,"443",$err_num,$err_str,30);