Skip to content

Audit Stripe Customer Portal config for grandfathered-pricing safety #3181

Open

Description

@bokelley

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

  1. billing_portal.configurations in the Stripe dashboard. Specifically:
    • Is subscription_update enabled? If yes, what products are 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")?
  2. Are there any code paths that call stripe.billingPortal.configurations.create or update? Right now I don't see any — the config is dashboard-managed. Worth confirming.

Options

  1. Disable subscription_update in 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).
  2. Restrict the product list in subscription_update.products to 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.
  3. Per-customer portal sessions with flow_data overrides — each call to createCustomerPortalSession passes a custom flow_data that 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

Activity

  1. added
    enhancement
    claude-triaging
    on Apr 25, 2026
  2. bokelley commented on Apr 25, 2026

    @bokelley
    ContributorAuthor
  3. added
    claude-triaged
    and removed
    claude-triaging
    on Apr 25, 2026
  4. added this to the Evergreen milestone on May 17, 2026
  5. bokelley commented on Aug 13, 2026

    @bokelley
    ContributorAuthor

    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.

  6. added
    triage:archive-review
    triage:outcome-missing
    on Sep 21, 2026
  7. bokelley commented on Sep 21, 2026

    @bokelley
    ContributorAuthor

    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.

  8. removed
    triage:archive-review
    triage:outcome-missing
    on Sep 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    claude-triagedenhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions