We've got a client who's PayPal IPN have stopped working. Happened about two weeks ago. Nothing changed in the store code for weeks prior to the day it stopped working.
PayPal IPN History is showing HTTP 200 results on most every request. Yet the order does not update in Able Gold.
We've checked IIS logs, we can see PayPal hitting the ProcessPayPal.ashx handler with an HTTP POST and can see the handler returns an HTTP 200.
We enabled logging on the paypal gateway, but no log file ever gets generated. Is there any way to log what's being POSTd to the processpaypal.ashx handler?
We're out of ideas of how to debug this any further.
AC Gold PayPal IPN stopped working
AC Gold PayPal IPN stopped working
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: AC Gold PayPal IPN stopped working
Are you able to install Fiddler on the server? You would at least be able to see if PayPal is sending back the correct data. Presumably it is with a 200 result, but nice to see if the format or data has changed in anyway.
Re: AC Gold PayPal IPN stopped working
Enable trace in your web.config. Then trigger the IPN notification, once you get HTTP 200 back from IPN processor then check the Trace.axd and check information logged by IPN handler in it.
Re: AC Gold PayPal IPN stopped working
Thanks Mazhar.
I noticed there is a commented section in Log4Net.config that also pertains to trace output. Can that be used instead? I assume then the logs would go to app.log right?
It sure would be handy to have an admin UI to view IPN logging without having to manually edit config files. PayPal IPN is so awkward to troubleshoot. It wouldn't get used much, but boy would it be helpful when it's needed.
In this situation the client changed the PayPal email address in the gateway setup to a non-primary email account. PayPal still reports the IPN posts as HTTP 200, so talking to PayPal is useless - they just "We got an HTTP 200, so it must be a problem on your end."
Surely there is a way for IPNProcessor.cs to detect when the configured PayPal email account is not the primary PayPal address? Right now, it seems like it's just dropping the entire IPN post without any sort of log message. We could have figured this issue out in just a few minutes if that discrepancy was logged.
I noticed there is a commented section in Log4Net.config that also pertains to trace output. Can that be used instead? I assume then the logs would go to app.log right?
It sure would be handy to have an admin UI to view IPN logging without having to manually edit config files. PayPal IPN is so awkward to troubleshoot. It wouldn't get used much, but boy would it be helpful when it's needed.
In this situation the client changed the PayPal email address in the gateway setup to a non-primary email account. PayPal still reports the IPN posts as HTTP 200, so talking to PayPal is useless - they just "We got an HTTP 200, so it must be a problem on your end."
Surely there is a way for IPNProcessor.cs to detect when the configured PayPal email account is not the primary PayPal address? Right now, it seems like it's just dropping the entire IPN post without any sort of log message. We could have figured this issue out in just a few minutes if that discrepancy was logged.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
Re: AC Gold PayPal IPN stopped working
Thanks Mike. Unfortunately we couldn't get Fiddler on the server. I do love Fiddler though, awesome tool for stuff exactly like this!mike92117 wrote:Are you able to install Fiddler on the server?
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com