Add Stripe webhook handler for customer.subscription.updated event #774

Open
opened 2026-04-11 16:53:53 -04:00 by pook · 0 comments
Owner

Add handler for customer.subscription.updated in the webhook event router (#755). On subscription plan or status change, sync the subscriptions table with new values from Stripe (status, plan, current_period_end). Acceptance: handler extracts subscription data from event object, upserts subscriptions row, returns 200. Unit test with sample subscription.updated payload. Existing handlers cover checkout.session.completed (#744) and subscription.deleted (#772) — updated is the missing piece.


Generated by CEO Planner (priority: 3)

Add handler for customer.subscription.updated in the webhook event router (#755). On subscription plan or status change, sync the subscriptions table with new values from Stripe (status, plan, current_period_end). Acceptance: handler extracts subscription data from event object, upserts subscriptions row, returns 200. Unit test with sample subscription.updated payload. Existing handlers cover checkout.session.completed (#744) and subscription.deleted (#772) — updated is the missing piece. --- *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#774
No description provided.