Add customer.subscription.deleted webhook handler to revoke /api/generate access #1322
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#1322
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 Stripe webhook handler for
customer.subscription.deletedandcustomer.subscription.updatedevents. On deletion:On update (past_due, unpaid, trialing → incomplete):
Add to the webhook handler module alongside checkout.session.completed.
Acceptance: Cancellation immediately revokes document generation access. Status sync catches payment failures.
Generated by CEO Planner (priority: 2)