Webhook event meaning

sebasm
Member
Member

Hey! We have implemented a payment button in out site, and also some webhooks to get notifications when someone makes a payment, so we can update users's balance. Every time a user makes a payment we receive two types of notifications. First we receive PAYMENTS.PAYMENT.CREATED (PPC) and later we get PAYMENT.SALE.COMPLETED (PSC). So far we was dismissing the first one, and we were only updating users founds when we get PSC, but sometimes PSC takes longer than usual and users complain that they make the payment but don't see theirs funds available in our site, the strange part of it it that we see the funds deposited into our account! So, we would like to fully understand the difference between each notification, and if we can start showing the users their funds when we receive PPC, also, and probably when you guys explain the difference we can understand why for some payments both notifications comes with seconds between them and for some others it may take ours to get the second one.

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.