Review and merge PR #782 — POST /api/billing/portal for subscription management #1528

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

PR #782 adds a billing portal session endpoint that lets customers manage their own subscriptions (upgrade, downgrade, cancel) via Stripe's hosted portal. This is needed for compliancebot to be a billable product.

Review steps:

  1. gh pr checkout 782 --repo pook/compliancebot
  2. Read the diff and verify: (a) endpoint is at POST /api/billing/portal, (b) creates a Stripe billing portal session for the authenticated user, (c) returns the portal URL, (d) requires authentication, (e) handles missing Stripe customer ID gracefully.
  3. Check that the route is wired into the Express app (not just defined but unused).
  4. Run tests.
  5. If correct, merge: gh pr merge 782 --squash --repo pook/compliancebot

Acceptance: PR #782 merged. Authenticated users can open Stripe billing portal to manage subscriptions.


Generated by CEO Planner (priority: 3)

PR #782 adds a billing portal session endpoint that lets customers manage their own subscriptions (upgrade, downgrade, cancel) via Stripe's hosted portal. This is needed for compliancebot to be a billable product. Review steps: 1. `gh pr checkout 782 --repo pook/compliancebot` 2. Read the diff and verify: (a) endpoint is at POST /api/billing/portal, (b) creates a Stripe billing portal session for the authenticated user, (c) returns the portal URL, (d) requires authentication, (e) handles missing Stripe customer ID gracefully. 3. Check that the route is wired into the Express app (not just defined but unused). 4. Run tests. 5. If correct, merge: `gh pr merge 782 --squash --repo pook/compliancebot` Acceptance: PR #782 merged. Authenticated users can open Stripe billing portal to manage subscriptions. --- *Generated by CEO Planner (priority: 3)*
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#1528
No description provided.