Add Stripe webhook handler for customer.subscription.updated event #774
Labels
No labels
agent-task
agent-task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
pook/compliancebot#774
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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)