[PR #1900] [MERGED] fix: restrict individual plans to upgrade only #1916

Closed
opened 2026-02-26 20:31:39 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1900
Author: @dguyen
Created: 7/15/2025
Status: Merged
Merged: 7/16/2025
Merged by: @Mythie

Base: mainHead: fix/restrict-individual-plans


📝 Commits (1)

  • 31abfc0 fix: restrict individual plans to upgrade only

📊 Changes

5 files changed (+114 additions, -14 deletions)

View changed files

📝 apps/remix/app/components/dialogs/organisation-create-dialog.tsx (+26 -5)
📝 apps/remix/app/components/general/billing-plans.tsx (+63 -6)
📝 packages/ee/server-only/stripe/webhook/on-subscription-updated.ts (+18 -1)
📝 packages/trpc/server/billing/create-subscription.ts (+6 -2)
📝 packages/trpc/server/billing/create-subscription.types.ts (+1 -0)

📄 Description

Description

Prevent users from creating a separate organisation for individual plans. Only appllies to users who have 1 personal organisation and are subscribing to the "Individual" plan.

The reason for this change is to keep the layout in the "Personal" mode which means it doesn't show a bunch of unusable "organisation" related UI.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/documenso/documenso/pull/1900 **Author:** [@dguyen](https://github.com/dguyen) **Created:** 7/15/2025 **Status:** ✅ Merged **Merged:** 7/16/2025 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `fix/restrict-individual-plans` --- ### 📝 Commits (1) - [`31abfc0`](https://github.com/documenso/documenso/commit/31abfc053ac8cc2fba2d8a6009ad65e73c1deeed) fix: restrict individual plans to upgrade only ### 📊 Changes **5 files changed** (+114 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `apps/remix/app/components/dialogs/organisation-create-dialog.tsx` (+26 -5) 📝 `apps/remix/app/components/general/billing-plans.tsx` (+63 -6) 📝 `packages/ee/server-only/stripe/webhook/on-subscription-updated.ts` (+18 -1) 📝 `packages/trpc/server/billing/create-subscription.ts` (+6 -2) 📝 `packages/trpc/server/billing/create-subscription.types.ts` (+1 -0) </details> ### 📄 Description ## Description Prevent users from creating a separate organisation for individual plans. Only appllies to users who have 1 personal organisation and are subscribing to the "Individual" plan. The reason for this change is to keep the layout in the "Personal" mode which means it doesn't show a bunch of unusable "organisation" related UI. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 20:31:39 +03:00
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
starred/documenso#1916
No description provided.