Duplicate webhook events on billing agreements
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Labels:
-
Payments REST APIs
-
Webhooks REST APIs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
PayPal Partner and Certified Developer - Kudos are Greatly Appreciated!
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Can't process subscription on Wordpress website in PayPal Payments Standard
- PayPal API 403 PERMISSION_DENIED on get order and capture order in REST APIs
- NOT_AUTHORIZED returned when using /billing-agreements/agreements in Sandbox Environment
- Is it possible to set multiple billing agreements in SetExpressCheckout? in NVP/SOAP APIs
- incorrect plan id in REST APIs