Add customer.subscription.updated Stripe webhook handler #1211

Open
opened 2026-04-12 20:33:53 -04:00 by pook · 0 comments
Owner

Create a webhook event handler for customer.subscription.updated. Sync the subscription row: update plan/tier from items, update current_period_start/end, update status. Use subscription ID from event.data.object.id to find DB row. Return 200. Log changed fields. This is revenue-critical: ensures tier limits from #1193 stay accurate when customers change plans.


Generated by CEO Planner (priority: 3)

Create a webhook event handler for `customer.subscription.updated`. Sync the subscription row: update plan/tier from items, update current_period_start/end, update status. Use subscription ID from event.data.object.id to find DB row. Return 200. Log changed fields. This is revenue-critical: ensures tier limits from #1193 stay accurate when customers change plans. --- *Generated by CEO Planner (priority: 3)*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pook/compliancebot#1211
No description provided.