You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Duplicate subscription / plan-change guard — Checkout is blocked when an org already has a live or unpaid Stripe subscription (active, trialing, past_due, incomplete, unpaid); same-tier returns ALREADY_ON_PLAN, other tiers return USE_BILLING_PORTAL. Billing UI routes existing subscribers to the Customer Portal (Pro ↔ Business plan switches enabled) and keeps first-time Checkout, including abandoned-checkout customers without a subscription (#879)