Home » Php » java – What happens if PayPal's IPN service cannot contact the IPN destination?

java – What happens if PayPal's IPN service cannot contact the IPN destination?

Posted by: admin July 12, 2020 Leave a comment

Questions:

I was wondering this while I was writing an IPN receiver in Java, that will be used to automatically process an IPN, because the actual software runs in Java. The IPN processor is a class inside my project that will be used to speed things up, to avoid having to use PHP inbetween.

However, the question came to my mind when I thought about notification guarantee. Is PayPal resending the IPN post request when the host is unavailable? Or is it simply discarded, and up to the administrator to deal with this? This is because there is a slight chance the server is under maintenance once two days, and at that point the server will not be active.

If the notification is resent, what would the delay be?

Thank you in advance. 🙂

How to&Answers:

Please see details:

Is PayPal resending the IPN post request when the host is unavailable? Or is it simply discarded, and up to the administrator to deal with this?

Yes. PayPal will continue to send you IPN message if your server is not acknowledging the POST message or if your server is unreachable.

If the notification is resent, what would the delay be?

According to PayPal document, PayPal will re-send the message periodically until you responds, However the interval between retries increases with each attempt. An IPN will be resent for up to four days, with a maximum of 15 retries. The interval will increase after each fail attempt.

Answer:

Paypal will keep sending IPN messages to your application’s specified listener url.
After numerous failures, they will send a warning message to you titled:
PayPal Instant Payment Notification Warning