400 error on validate IPN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello! Sometimes we are getting 400 error from paypal when validating notification. But if i make the same request after some time it works correctly. Please check the response from paypal:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
</body></html>
I can not provide request, because it contains private information.
It happens only in 1-3% of requests.
- Labels:
-
IPN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@moshe007 in my case, I used PHP and my verify IPN method is based on https://developer.paypal.com/docs/api-basics/notifications/ipn/ht-ipn/ and using Sandbox, sometimes got a 200 response and sometimes 400 (like you).
The god news is that when I put my script in production, everything WORKS FINE!!!
Then it's obvious, Sandbox enviroment have problems with IPN.
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm getting the same error. I'm using firebase functions to listen for IPN notifications, but I get "Bad Request Your browser sent a request that this server could not understand." as when verifying messages with paypal.
- « Previous page
-
- 1
- 2
- Next page »
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Add Others data in SDKs
- Getting errors when integrating standard checkout with my web site. Probably a beginner problem. in SDKs
- Get error message "Someting went wrong" when the sandbox account tap "Agree and Connect" button. in Sandbox Environment
- IPN works in sandbox but not live in Sandbox Environment
- Connecting with site to take payments in Payflow