IPN Handler reports failed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We having been using PayPal IPN Handler to deal with payments from our website, however recently we have ben getting messages saying they are failing. The odd thing is the code from our side is running, we are getting these notifications, we are processsing the payments and we are firing off email. The last step of our IPN handler is to fire off an email and this does indeed work. Once this email has been sent the PHP code does a
header("HTTP/1.1 200 OK");
to say its all good. The only reason i can see that this wouldnt be fine is if the headers had already been modified or something, i added a
if ( headers_sent($filename, $linenum) )
{
file_put_contents(__DIR__ . "/headers.txt", "FILE: " . $filename . " LINE: " . $linenum);
}
to log if this was the case but this doesnt trigger.
This is code that hasnt changed and im at a loss to how to debug it? Any suggestions would be great as this is a busy time for us and PayPal have now disabled the IPN
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Standard checkout demo code reports "TypeError: body used already" in Sandbox Environment
- MISSING_API_CREDENTIALS error in standard checkout demo in Sandbox Environment
- No IPN notifications and http response code empty in IPN history in NVP/SOAP APIs
- Authorization via Postman= Client Authentication failed in REST APIs