My WebHook events seem to get in reverse order

Alex_Escalante
Contributor
Contributor

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.

Login to Me Too
1 REPLY 1

MTS_Narendra
PayPal Employee
PayPal Employee

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.

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.