[PR #939] [MERGED] feat: add enterprise billing #1264

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/939
Author: @dguyen
Created: 2/16/2024
Status: Merged
Merged: 2/17/2024
Merged by: @dguyen

Base: mainHead: feat/stripe-enterprise


📝 Commits (1)

  • 22d1a70 feat: add enterprise billing

📊 Changes

13 files changed (+93 additions, -43 deletions)

View changed files

📝 apps/web/src/app/(dashboard)/settings/billing/page.tsx (+8 -8)
📝 apps/web/src/components/(teams)/tables/teams-member-page-data-table.tsx (+1 -1)
📝 packages/ee/server-only/limits/server.ts (+4 -4)
packages/ee/server-only/stripe/get-document-related-prices.ts.ts (+10 -0)
packages/ee/server-only/stripe/get-enterprise-plan-prices.ts (+13 -0)
📝 packages/ee/server-only/stripe/get-prices-by-plan.ts (+9 -5)
packages/ee/server-only/stripe/get-primary-account-plan-prices.ts (+10 -0)
packages/ee/server-only/stripe/get-team-related-prices.ts (+17 -0)
📝 packages/ee/server-only/stripe/transfer-team-subscription.ts (+6 -6)
📝 packages/lib/constants/app.ts (+4 -5)
📝 packages/lib/constants/billing.ts (+1 -2)
📝 packages/lib/server-only/team/create-team.ts (+6 -7)
📝 packages/lib/utils/billing.ts (+4 -5)

📄 Description

Description

Add support for enterprise billing plans.

Enterprise billing plans by default get access to everything early adopters do:

  • Unlimited teams
  • Unlimited documents

They will also get additional features in the future.

Notes

Pending webhook updates to support enterprise onboarding.
Rolled back env changes NEXT_PUBLIC_PROJECT since it doesn't seem to work.


🔄 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/939 **Author:** [@dguyen](https://github.com/dguyen) **Created:** 2/16/2024 **Status:** ✅ Merged **Merged:** 2/17/2024 **Merged by:** [@dguyen](https://github.com/dguyen) **Base:** `main` ← **Head:** `feat/stripe-enterprise` --- ### 📝 Commits (1) - [`22d1a70`](https://github.com/documenso/documenso/commit/22d1a70fc69dcfea1c87e43a796c4c53eb23ee08) feat: add enterprise billing ### 📊 Changes **13 files changed** (+93 additions, -43 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/app/(dashboard)/settings/billing/page.tsx` (+8 -8) 📝 `apps/web/src/components/(teams)/tables/teams-member-page-data-table.tsx` (+1 -1) 📝 `packages/ee/server-only/limits/server.ts` (+4 -4) ➕ `packages/ee/server-only/stripe/get-document-related-prices.ts.ts` (+10 -0) ➕ `packages/ee/server-only/stripe/get-enterprise-plan-prices.ts` (+13 -0) 📝 `packages/ee/server-only/stripe/get-prices-by-plan.ts` (+9 -5) ➕ `packages/ee/server-only/stripe/get-primary-account-plan-prices.ts` (+10 -0) ➕ `packages/ee/server-only/stripe/get-team-related-prices.ts` (+17 -0) 📝 `packages/ee/server-only/stripe/transfer-team-subscription.ts` (+6 -6) 📝 `packages/lib/constants/app.ts` (+4 -5) 📝 `packages/lib/constants/billing.ts` (+1 -2) 📝 `packages/lib/server-only/team/create-team.ts` (+6 -7) 📝 `packages/lib/utils/billing.ts` (+4 -5) </details> ### 📄 Description ## Description Add support for enterprise billing plans. Enterprise billing plans by default get access to everything early adopters do: - Unlimited teams - Unlimited documents They will also get additional features in the future. ## Notes Pending webhook updates to support enterprise onboarding. Rolled back env changes `NEXT_PUBLIC_PROJECT` since it doesn't seem to work. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:32:31 +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#1264
No description provided.