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.
- Error message for obtaining access_token in REST APIs
- Couldn't receive International payment in PayPal Payments Standard
- "System error. Please try again later" when connecting to paypal sandbox account with my android app in Sandbox Environment
- Things don’t appear to be working at the moment in PayPal Payments Standard
- Something went wrong. Contact the merchant for help. in PayPal Payments Standard