PayPal IPN does not work for outgoing transactions (send money) - paypal

I have a business account (BA) with IPN configured. There are two cases:
Incoming transaction from anyone to BA, IPN works successfully
Outgoing transaction from BA to anyone, IPN does not work
I would like to configure IPN for the 2nd case, is it possible?
I need know in real time (on the fly) all transactions data sent to some endpoint to our server.

Instant Payment Notification (IPN) notifies of payments received.
The service does not notify of payments sent.

Related

Missing PayPal IPN notification

On our website we have option to pay using PayPal. At the time of signup our sytem creates recurring profile in users PayPal account and then till the account continue we receive recurring Payments.
On every successful payment PayPal send us the notifications with transaction details and we updates our system.
Sometimes our system miss the IPN notifications due to outage and as a result our system goes out of sync and does not updates the payments.
I would like to know do we have any PayPal API which we can call to get the transaction details of missing IPN notifications?
How to handle these transactions which are not updated in our system and IPN we ave missed?

Handling PayPal IPNs received in unexpected time order

When a user placed an order, the IPN listener would receive a notification from PayPal with the payment_status='Completed'. Later, for some reasons, if we had to refund to the user, PayPal would send a notification to the listener with payment_status='Refunded' or payment_status='Reversed'.
Since the internet is not always reliable, is this possible for the IPN listener to receive these two IPNs in the wrong order? In other words, the IPN listener received the Refunded notification before the Completed notification.
If yes, what are the typical approaches to handle such case?

PayPal generate invoice and notify application after payment

I would appreciatte if someone helps me to clarify some PayPal concepts. I'm using PayPal to send/receive payments and I want to offer the users the possibility of get an invoice for the payments. So, right now I'm using the Invoicing Service API for the payments I receive, I call the service and get the URL of the invoice for the user and here is muy first question: once the user pays the invoice, how do I get notified of this in my application (without having to login into PayPal and check by myself)? Second: in the Integration Guide it says "PayPal sends IPN messages for invoice payments and for invoices cancelled by the buyer..." is IPN the only option to get notified of a payment in my application? Beyond this, I've start reading about IPN and testing the IPN Simulator, but after select all of the items in the combo "Transaction Type" I couldn't see the transaction type "invoice_payment" mentioned in the Invoicing Service API, so which type of transaction should I configure?
Thanks in advance, regards.
You can try using the Web Accept. Basically, the IPN simulator is used to test your IPN Listener whether it can listen to the message that sent by PayPal. It does not sent any a real message to your listener. For the invoice payment, it will return invoive_payment. You can have a try on your end.

Paypal payment made but IPN not triggered due to down server on merchant website

Could anybody please tell me what happen if payment is made on PayPal but IPN is not triggered because server is down on merchant website.
How paypal will check and authorize the payment on merchant server?
IPN is an (optional) notification service, it isn't related to the transaction (aka "checkout flow", "payment flow") per se. It notifies the receiver (of the IPN message) of event(s) in transactions that occur at Paypal.
Instant Payment Notification
Instant Payment Notification (IPN) is a message service that automatically notifies merchants of events related to PayPal transactions. Merchants can use it to automate back-office and administrative functions, like automatically fulfilling orders and providing customers with order status.
...
Using IPN in your checkout flow
Although PayPal usually processes IPN messages immediately, IPN is not synchronized with actions on your website. Internet connectivity
is not always 100% reliable and IPN messages can be lost or delayed.
The IPN service automatically resends messages until the listener
acknowledges them. The service resends messages for up to 4 days.
Because IPN is not a real-time service, your checkout flow should not
wait for the IPN message before it is allowed to complete. If the
checkout flow is dependent on receiving an IPN message, processing can
be delayed by system load or other reasons. You should configure your
checkout flow to handle a possible delay.
Hth..

After setting up PayPal Instant Payment Notification, can I resend the IPN for historic transactions retroactively?

I have just set up PayPal IPN for my website.
https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNSetup/
Unfortunately, someone bought my product before the IPN was set up correctly.
Is there a way to apply the IPN notification to a historic transaction from yesterday that did not originally send an IPN?
Login to your account at PayPal, find IPN History, find the transaction: you can resend it from there.
Of course if IPN wasn't enabled when they bought, there is nothing to resend.