Add customer.subscription.updated Stripe webhook handler #1211
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#1211
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?
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)