It takes about three hours for executed transactions to appear in the list transactions call by API

PeterKhaled
Contributor
Contributor

Hi,

 

My business module get activated once the customer makes the payment. However, the Paypal's APIs (https://api.paypal.com/v1/reporting/transactions) lists the occured payment, by customer, within Three hours! . Therefore, this delay make it useless. Is there anyway so I can get this notification of customer's payment on an immediate base ?

 

Thanks.

Login to Me Too
1 REPLY 1

MTS_Jennifer
Moderator
Moderator

Hello @PeterKhaled ,

Thank you for posting to the PayPal Community.

The best way to receive immediate notifications is to use webhooks. Webhooks send a notification to your listener url.

Here are the details:

https://developer.paypal.com/api/rest/webhooks/rest/

 

Here is information on how to subscribe to Webhook Events:

https://developer.paypal.com/api/rest/webhooks/rest/#link-subscribetoevents

 

If you would like to test Webhooks in sandbox, https://webhook.site can give you a test webhook listener, which will allow you to see how it works.

 

Thank you,

Jennifer

MTS

PayPal

 

 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.