Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

java

php

paypal

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. :)

like image 320
Bart Pelle Avatar asked Sep 18 '13 21:09

Bart Pelle


1 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.

like image 89
Shamim Ahmmed Avatar answered Oct 31 '22 18:10

Shamim Ahmmed