Paypal IPN notification - paypal

Are there times that Paypal IPN notifications fails?
Does it work 100%?
I have problem right now.. Most of the time it works but I just now, it stop working for now reason.
I need it to work 100% so that I can add a record on my database about the transaction. And know if it fails or not.
Does anyone has the same experience?

Always paypal will return the IPN. But some occasions it might delay for even days. So we cant't rely on IPN 100%. So better way to do it will be to use both IPN and PDT together. If the data is not updated using IPN we can check it an use PDT to update our database.

Related

PayPal IPN always gets status - Queued

I'm really struggling with PayPal IPN. I tested my IPN listener with IPN Simulator and everything seems fine. But when I use Sandbox every IPN gets status "Queued": http://prnt.sc/asjqvp
Do you have any idea why this might happen and how to fix that?
PS. It worked after a few hours. But it would be nice to know why it takes so much time...
It appears to be a glitch on PayPal end... a simple search on Stack Overflow finds many people with the same issue.
You can review the PayPal docs here - there's not really much details given, only "Queued - PayPal is ready to send the message."
https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNOperations/

Missing IPN how to diagnose?

We have been running IPN payments for around 15 months now, and for all that time we have around 10% missed IPN notification (there is no record of PayPal attempting to contact our website to notify it of the IPN, Paypal IPN history gets always http200.
Now we are hitting around 5 missed notification per 30 orders/day. We have tried to set up manually url listener in account settings and after that we are getting hundreds notifications from ebay sales) and also passing url method was used - nothing helped. Any idea how to diagnose the problem?
Thanks in advance
Although it is possible some situations don't trigger IPN, IPN actually covers a lot of things. I'd recommend getting in contact with paypal merchant technical services (or with paypal customer support, and they will transfer you to technical) as soon as possible, and ask them to see if there's anything wrong on either side. You would need to prepare the related transaction is within 28 days whose IPN is missing, because IPN only remains in the history for 28 days.

PayPal refunds not generating IPN anymore

I have a web site thats been operating for months, if not years. It takes payments via PayPal. IPNs are used to track the payment status against an order.
If the paypal account owner issues a refund, the IPN from that is tracked, and the order updated with the amount refunded.
Now: The problem: This was all working in February 2015. But since then I have made 4 refunds (buy logging into the PayPal website and refunding). Each one was days apart. In each case they were partial refunds.
In all cases the monies have reached the recipient, and logged transactions IDs etc in PayPal.
The first one, I never received the IPN.
The second one I did received the IPN (and decided the first one must have been a glitch, unusal though it would seem)
However the third and fourth also have not generated an IPN that I received.
From looking at the Apache logs, there appears to not have been even an attempt from notify.paypal.com that Apache received.
So I am much puzzled, have googled around but not found anything. Can anyone suggest what I have missed that have caused these IPNs to stop?
Perhaps I should add that I continue to receive all the payment notification IPNs just fine. It seems to be just the refunds that I miss.
I thought at one time there was a flag about IPNs in settings, but I can't see it anywhere in the new web interface.
Regards
Monathan

transactional operations with paypal api

I am adding payments to our website. I would like a way to update my database and capture a payment via paypal api within a transaction. Does anybody know if there is any way to do this? Perhaps a paypal callback?
Do the capture and after that, update the database. Some minutes later you'll receive an IPN message with details about the capture and you can use it to check whether the database is updated. But don't rely on IPN only, from my experience I can say that it's not 100% reliable. Sometimes it happens that I don't receive some of the IPNs, or they are delayed with some hours.

PayPal TimeOut - DoExpressCheckoutPayment

We are using PayPal on a faily large website, integration went well with all code helpers from the integration wizard. Now we had processed a number of transactions in the first day of putting this live but a small percentage (5%) essentially had there transaction processed by PayPal but our system recieved a TimeOut. I believe this happens at the point where we submit the "DoExpressCheckoutPayment" Method. and because of this the system cannot tell if the payment has been complete or not.
This is a real tough one, as the website has a live currency that we need to update so paypal taking the money but the system not updating is not acceptable.
I'm interested to know if this is a common problem and how we should go about handeling it. I'm doing my best to re-create the issue but cannot at this time.
This looks like a similar problem - https://www.x.com/thread/45136
Any help would be appriciated!
Add retry logic to your application. This is a common way of handling this problem.
After looking into this in more depth, retry logic is not a good idea as the TimeOut is due to the response (So paypal has most likly credited the account).
Instant Payment Notification (IPN) seems to be the solution.