How to Handle PayPal IPN Response Delay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We designed a Bootstrap website with a one-time purchase option using PayPal and the IPN responds quickly with no problem.
Then, we have another Bootstrap website that uses a recurring subscription and the IPN is always delayed. We also developed 2 other recurring subscription based Drupal websites using the 'PayPal Roles' module and the IPN is always delayed on those as well.
When the customer/user is returned to our website after completing payment, our confirmation page returns a "You are not authorized to view this page..." error because the IPN is delayed and has not been received. Usually, if we wait about 5-10 seconds and refresh the page, the IPN catches up, updates the database, the error goes away, and the user is able to access our website.
On the PayPal Developer website, I read that the IPN is not a real-time solution, but there does not seem to be a solution offered to work around this issue. So what is the best solution to work around the IPN delay?

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.