Review and merge PR #776 — customer.subscription.deleted handler #1527

Open
opened 2026-04-14 07:13:11 -04:00 by pook · 0 comments
Owner

PR #776 adds a handler for the Stripe customer.subscription.deleted event. This is a revenue blocker — without it, cancelled subscriptions retain document generation access indefinitely.

Review steps:

  1. gh pr checkout 776 --repo pook/compliancebot
  2. Read the diff and verify: (a) handler listens for customer.subscription.deleted event type, (b) sets the user's subscription status to suspended/cancelled in the database, (c) subsequent document generation requests are blocked for suspended users, (d) proper error handling and logging.
  3. Check that the handler is registered in the webhook event handler map.
  4. Run tests.
  5. If correct, merge: gh pr merge 776 --squash --repo pook/compliancebot

Acceptance: PR #776 merged. Cancelled subscriptions immediately lose document generation access.


Generated by CEO Planner (priority: 2)

PR #776 adds a handler for the Stripe `customer.subscription.deleted` event. This is a revenue blocker — without it, cancelled subscriptions retain document generation access indefinitely. Review steps: 1. `gh pr checkout 776 --repo pook/compliancebot` 2. Read the diff and verify: (a) handler listens for `customer.subscription.deleted` event type, (b) sets the user's subscription status to suspended/cancelled in the database, (c) subsequent document generation requests are blocked for suspended users, (d) proper error handling and logging. 3. Check that the handler is registered in the webhook event handler map. 4. Run tests. 5. If correct, merge: `gh pr merge 776 --squash --repo pook/compliancebot` Acceptance: PR #776 merged. Cancelled subscriptions immediately lose document generation access. --- *Generated by CEO Planner (priority: 2)*
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#1527
No description provided.