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

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

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?

PayPal recurring payment verification

After one has created a monthly billing agreement with a customer; how do I verify that the customer has paid (and not cancelled the agreement) at the next bill statement?
Would I use GetRecurringPaymentsProfileDetails for this information? Basically, I want to automate cancellations/etc.
In your ipn end point a subscr_cancel txn_type is sent when this happens. Then you can update a record in your database to account for this.
Ipn messages when enabled send post requests for all kinds of actions such when a Payment is made or a subscription is cancelled. When you receive a message you need to validate the message, determine what message it is, and then perform an action in your application
Ipn info
https://developer.paypal.com/docs/classic/products/instant-payment-notification/

PayPal - Time needed from Direct Payment until receiving IPN message

I am applying PayPal Direct Payment on my website. My question is how much time is needed from when a Direct Payment is committed until I receive IPN message that the payment is Completed or for example Denied, Failed or something else?
Some important notes depending on how/why you are asking about "time":
IPN is an asynchronous message service, meaning that IPNs are not synchronized with actions on your website. Thus, listening for an IPN message does not increase the time required to complete a transaction on your website.
...
The IPN message service is not a real-time service. As a result, your listener may not receive an IPN message for many seconds after an event occurs. As a result, your checkout flow should not depend upon receiving an IPN message to complete. If it does, your checkout flow will be slow during periods of heavy system load and complicated, since it must handle retries.
REF: Introducing IPN
Hth...
That should be instantaneous and will certainly be no more than a couple of seconds. As soon as PayPal receives a Payment to your account it will send this Instant Payment Notification. I think the name says it all.
More information: https://developer.paypal.com/docs/classic/products/instant-payment-notification/

PayPal Live Transaction Completed but IPN does not update from Pending

We're using PayPal Payments Standard and IPN to process payment transactions and enable digital goods download after our IPN listener script recieves notification of a completed transaction.
We've done thorough testing on the PayPal sandbox and made sure our scripts handle different scenarios properly.
Just to be sure, before opening the sales to public, we've done some testing with the PayPal live interface - performed a few small sales using a previously verified PayPal account to pay for the goods.
Our IPN listener script has immediately received notifications, but the payment_status in both of them was 'pending' with pending_reason = 'paymentreview'. After logging to our seller PayPal account a few minutes after making the payment, both transactions have the status 'Completed' and are ready to ship, yet our IPN listener did not receive any further notification updating the status of the transactions.
By checking the IPN history on our seller PayPal account, we can see that only the initial messages for both payments have been sent (with status 'Pending').
The PayPal developer docs are explicit about not allowing the download or shipping goods before the transaction is succesfully completed, yet we do not receive an update via IPN even 48+ hours after the payments.
We did not experience any such problem during testing period on PayPal sandbox interface.
Is this an issue with the IPN interface, or there is something that can be configured through our PayPal account that will resolve this issue and make IPN behaviour consistant with PayPal developer docs?

Delays in CC payment processing by paypal?

I am working on a subscription system that integrates payments through CC and paypal account, the problem happens in delay in activating the recurring profile of subscribers paying through CC.
I am using "CreateRecurringPaymentsProfile" API call for creating recurring profile. Initially I relied solely on IPN messages for payment confirmation, but there are delays in receiving these sometimes for few hours, for some users, but since IPN messages are only initiated with changes made in merchant's account, i believe the transfer of money could take time, and thus the delay.
I then thought of momentarily activating the profile based on instant responses from "CreateRecurringPaymentsProfile" and then the account is deactivated if we subsequently receive a IPN messages of txn_type payment skipped. My question is how most sites implement instant activating recurring payments using paypal api and is SUCCESS response from "CreateRecurringPaymentsProfile" is reliable to indicate that payment has happened?