Skip to content

release: v1.22.19 - #884

Merged
unjica merged 3 commits into
mainfrom
release/v1.22.19
Oct 27, 2026
Merged

unjica merged 3 commits into
mainfrom
release/v1.22.19

Conversation

@unjica

@unjica unjica commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Release v1.22.19

Fixed

  • Abandoned checkout upgrade CTAs (TT-030) — Organization settings uses subscription status (active / trialing / past_due / incomplete / unpaid) instead of Stripe customer presence, so abandoned-checkout FREE orgs get "Upgrade to" → Checkout again (#883, Refs #882)

Checklist

unjica and others added 3 commits October 27, 2026 12:16
Sync main into develop after v1.22.18
* Fix TT-030: Abandoned checkout shows portal instead of Checkout

Regression from v1.22.18 where FREE org with abandoned checkout (Stripe
customer but no subscription) incorrectly shows 'Change to Pro/Business'
and opens Customer Portal with nothing to select.

Fix: Organization settings page now computes hasStripeSubscription based
on subscription status (active/trialing/past_due/incomplete/unpaid) instead
of hasStripeCustomer. This matches the API guard logic from #879 and ensures:
- Abandoned checkout orgs (customer, no sub) → 'Upgrade to' + Checkout ✓
- Active subscription orgs → 'Change to' + Portal ✓

Tests added:
- Dashboard unit tests for OrganizationBillingActions with abandoned checkout
- Verifies button text ('Upgrade to' vs 'Change to')
- Verifies correct action (Checkout vs Portal)
- Tests FREE no-sub, FREE with-sub, and PRO with-sub scenarios

Refs #882

Co-authored-by: Sanja Malovic <[email protected]>

* Fix lint: Replace 'any' types with proper type assertions

Co-authored-by: Sanja Malovic <[email protected]>

---------

Co-authored-by: Cursor Agent <[email protected]>
Co-authored-by: Sanja Malovic <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant