Repository navigation
Open
Labels
claude-triagedIssue has been triaged by the Claude Code triage routine. Remove to re-triage.enhancementNew feature or request
Milestone
Description
Problem
PR #3171 (duplicate-subscription guard) returns a Stripe Customer Portal URL in its 409 response so members can self-serve tier changes / payment-method updates / cancellations. This assumes the portal is configured safely.
For grandfathered orgs (e.g., Triton on Corporate at $10K when current Member is $15K), the portal's "change plan" feature could offer current-list prices and let the member self-bump off their grandfathered rate without realizing it.
What to check
billing_portal.configurationsin the Stripe dashboard. Specifically:- Is
subscription_updateenabled? If yes, whatproductsare exposed? - Are grandfathered prices in the exposed product list, or are they hidden (which would prevent staying on them when a member uses "change plan")?
- Is
- Are there any code paths that call
stripe.billingPortal.configurations.createorupdate? Right now I don't see any — the config is dashboard-managed. Worth confirming.
Options
- Disable
subscription_updatein the portal entirely. Portal becomes payment-method-update + cancel only. Tier changes go through admin (see follow-up issue on admin tier-change escape hatch). - Restrict the product list in
subscription_update.productsto only current-list public tiers. Members already on grandfathered prices stay there (Stripe doesn't auto-migrate); they just can't self-upgrade in the portal — they'd have to contact finance@. This is a softer landing. - Per-customer portal sessions with
flow_dataoverrides — each call tocreateCustomerPortalSessionpasses a customflow_datathat controls what the user can do based on whether their pricing is current-list or grandfathered. Most flexible but most code.
Recommendation
Option 2 (restrict product list) for now. Lowest effort, biggest safety win, doesn't block legitimate upgrades for non-grandfathered members.
Why this is a follow-up
- Doesn't affect the immediate Triton/Encypher cleanup (Triton's $10K Corporate is now stable on the canonical sub).
- Risk is per-grandfathered-member; we know the count is small.
- Mitigation needs portal config audit + possibly a small Stripe code change; deserves a focused PR.
References
- PR fix(billing): refuse to mint a duplicate subscription on an org #3171 — duplicate-subscription guard (added the portal-URL surface)
- Founding-member grandfathering, MEMORY: project_membership_pricing_v2.md
- adtech-product-expert review of fix(billing): refuse to mint a duplicate subscription on an org #3171
Metadata
Metadata
Assignees
Labels
claude-triagedIssue has been triaged by the Claude Code triage routine. Remove to re-triage.enhancementNew feature or request
Activity
bokelley commentedon Apr 25, 2026
Blocked-on: #3171 — resurfaces on merge
Triaged by Claude Code. Session: https://claude.ai/code/session_01E33kYH6pf47j9hHiFn5pWr
Generated by Claude Code
feat(billing): integrity invariants framework — Phase 1 (#3181)
feat(billing): integrity invariants framework — Phase 1 (#3181) (#3193)
bokelley commentedon Aug 13, 2026
Keep open as an external action. The billing owner must audit Stripe Customer Portal settings in the Stripe dashboard and test a grandfathered organization. Record the exact enabled actions and whether plan changes preserve legacy pricing; the codebase cannot infer this.
bokelley commentedon Sep 21, 2026
Maintainer triage — 2026-09-21
Classification: External billing configuration
Status: Ready for billing-owner verification
Decision: This is a Stripe Dashboard audit, not a code task: verify that the Customer Portal preserves grandfathered pricing.
Next gate: A billing owner tests a grandfathered organization in Stripe test mode, records the configuration/result, and closes or files a concrete code defect.