Webhooks: Define correct order of webhook notification

vkog
Contributor
Contributor

I'm using webhooks to update the status of PayPal payouts in my DB.

The documentation says: "Webhooks are asynchronous, their order is not guaranteed, and idempotency might lead to a duplicate notification of the same event type.", so I was planning to rely on 'create_time' timestamp to define the correct order of notification (By correct order I mean correct status order, like New->Processing->Success). But found that webhooks' timestamps are not in chronological order.

Check the image, 'success' notification was generated before 'processing':

zWBLn.png

So, how can I define the correct order of webhook notifications?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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