polar icon indicating copy to clipboard operation
polar copied to clipboard

Webhooks: subscription.updated webhook is fired multiple times on downgrade/upgrade

Open rishi-raj-jain opened this issue 2 months ago • 0 comments
trafficstars

From the ticket

Description

A subscription.updated webhook is being fired multiple times even though it has the same payload (happens during a downgrade/upgrade flow). This leads to duplicate notifications and potentially unintended side effects for webhook consumers.

Current Behavior

When a subscription is upgraded/downgraded (single update action), the subscription.updated webhook triggers multiple times. Consumers of the webhook receive duplicate events for a single change.

Expected Behavior

The subscription.updated webhook should only fire once per product downgrade/upgrade event. Consumers should receive a single webhook notification for each subscription change.

Video

https://github.com/user-attachments/assets/e632ee64-146d-4e49-96b7-3fe136cdaf0c

rishi-raj-jain avatar Sep 09 '25 11:09 rishi-raj-jain