[PR #1897] [MERGED] fix: handle trials and resubscribing #1911

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1897
Author: @Mythie
Created: 7/12/2025
Status: Merged
Merged: 7/14/2025
Merged by: @dguyen

Base: mainHead: fix/stripe-handle-trials-and-resubscriptions


📝 Commits (1)

  • b5ffe68 fix: handle trials and resubscribing

📊 Changes

3 files changed (+33 additions, -20 deletions)

View changed files

packages/ee/server-only/stripe/webhook/early-adopter-checkout-metadata.ts (+0 -13)
📝 packages/ee/server-only/stripe/webhook/on-subscription-created.ts (+26 -6)
📝 packages/ee/server-only/stripe/webhook/on-subscription-updated.ts (+7 -1)

📄 Description

We've had a longstanding bug where once a user has cancelled their subscription they're stuck in limbo where they can no longer reactivate the subscription requiring support to intervene.

This resolves that issue from a code perspective, a UI update may also be needed to display the billing table.

Additionally this adds support for trials and trial periods


🔄 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/1897 **Author:** [@Mythie](https://github.com/Mythie) **Created:** 7/12/2025 **Status:** ✅ Merged **Merged:** 7/14/2025 **Merged by:** [@dguyen](https://github.com/dguyen) **Base:** `main` ← **Head:** `fix/stripe-handle-trials-and-resubscriptions` --- ### 📝 Commits (1) - [`b5ffe68`](https://github.com/documenso/documenso/commit/b5ffe68934b8ffc58dd535bd113f3533cc7b8d44) fix: handle trials and resubscribing ### 📊 Changes **3 files changed** (+33 additions, -20 deletions) <details> <summary>View changed files</summary> ➖ `packages/ee/server-only/stripe/webhook/early-adopter-checkout-metadata.ts` (+0 -13) 📝 `packages/ee/server-only/stripe/webhook/on-subscription-created.ts` (+26 -6) 📝 `packages/ee/server-only/stripe/webhook/on-subscription-updated.ts` (+7 -1) </details> ### 📄 Description We've had a longstanding bug where once a user has cancelled their subscription they're stuck in limbo where they can no longer reactivate the subscription requiring support to intervene. This resolves that issue from a code perspective, a UI update may also be needed to display the billing table. Additionally this adds support for trials and trial periods --- <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:38 +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#1911
No description provided.