Add Stripe subscription lifecycle webhook handlers for cancellation and updates #1409
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#1409
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?
The billing pipeline handles checkout.session.completed (#1400) but has NO handlers for subscription cancellation or plan changes. Without these, cancelled subscribers retain paid access to /api/generate — direct revenue leak.
Create
src/billing/webhook-handlers.tswith two handlers:Both handlers must:
Wire into existing webhook route alongside checkout.session.completed handler.
Acceptance criteria:
Generated by CEO Planner (priority: 2)