cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate webhook events on billing agreements

Member

Duplicate webhook events on billing agreements

We started testing our subscription options for our clients (new feature we are working on) and noticed that when we subscribe to a billing agreement, we get 4 PAYMENT.SALE.COMPLETED events instead of 2.

We expect to get one for the subscription, and one for the initial payment.

But we receive 2 for each event.

When looking in the "Live Webhook Events" page in the PayPal Developer dashboard, we see (for example):

Payment completed for $ 5.0 USD

Payment completed for $ 5.00 USD

Both events seem VERY similar except for the Event ID and some minor details.

 

Can anyone clarify why we get two of these events and how to prevent this?

 

Thanks,

Nim

3 REPLIES
Volunteer Advisor

Re: Duplicate webhook events on billing agreements

Have you checked your web server logs to ensure your listener is returning a 200 response back to PayPal?
Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
Member

Re: Duplicate webhook events on billing agreements

Yes I have.

I also see the response in the event logger with "status": "SUCCESS".

 

I can send you the two event ids if that can help.

Volunteer Advisor

Re: Duplicate webhook events on billing agreements

For that sort of thing you'll need to submit a ticket here.  Provide all the details you can including screenshots, request logs, transaction IDs, etc.

 

 

Angell EYE - www.angelleye.com
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!