My WebHook events seem to get in reverse order
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I first get the PAYMENT.CAPTURE.COMPLETED and then the CHECKOUT.ORDER.APPROVED
I would think that I should get the approval first, with my own internal reference there, and then, when the payment capture comes, I can match the paypal supplied order_id.
But since they are getting reversed... how do you make this work, guys?
Thanks for the help.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear @Alex_Escalante,
Thank you for posting to the PayPal community.
I understand that you have received the webhooks in reverse order, with PAYMENT.CAPTURE.COMPLETED arriving before CHECKOUT.ORDER.APPROVED.
I have personally tested the flow from my end and did not encounter any similar issues. Therefore, I suggest trying the flow again to see if the issue persists. If you continue to experience the same problem, kindly create an MTS ticket via - https://www.paypal-support.com/s/?language=en_US with detailed information. We will be happy to assist you.
Sincerely,
Narendra Nath Laha
Global Technical Support
PayPal, Inc.

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Assistance Needed: Passing and Retrieving Custom Data in PayPal Webhook Payload in PayPal Payments Standard
- CHECKOUT.ORDER.APPROVED webhook event not triggered if payment_source is passed in in REST APIs
- Webhook event is not firing if the cancellation is initiated by the merchant in REST APIs
- EDD in PayPal Payments Standard
- Webhooks from PayPal Sandbox are not sending any JSON data, just headers in Sandbox Environment