[PR #1131] [MERGED] fix: enforce users to have stripe account #1414

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

📋 Pull Request Information

Original PR: https://github.com/documenso/documenso/pull/1131
Author: @dguyen
Created: 4/30/2024
Status: Merged
Merged: 5/1/2024
Merged by: @Mythie

Base: mainHead: fix/enforce-stripe-customer


📝 Commits (3)

  • 97d334a fix: force users to have a Stripe customer on sign in
  • 8622e68 fix: add logging
  • cfec366 fix: refactor

📊 Changes

1 file changed (+25 additions, -9 deletions)

View changed files

📝 apps/web/src/pages/api/auth/[...nextauth].ts (+25 -9)

📄 Description

Description

Currently users who sign in via Google SSO do not get assigned a Stripe customer account.

This enforces the Stripe customer requirement on sign in.

There might be a better place to put this so it's open to any suggestions.


🔄 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/1131 **Author:** [@dguyen](https://github.com/dguyen) **Created:** 4/30/2024 **Status:** ✅ Merged **Merged:** 5/1/2024 **Merged by:** [@Mythie](https://github.com/Mythie) **Base:** `main` ← **Head:** `fix/enforce-stripe-customer` --- ### 📝 Commits (3) - [`97d334a`](https://github.com/documenso/documenso/commit/97d334a1da63b8e0284d2697f914631fa64671eb) fix: force users to have a Stripe customer on sign in - [`8622e68`](https://github.com/documenso/documenso/commit/8622e688534ffc374aee85715625a12262a38c20) fix: add logging - [`cfec366`](https://github.com/documenso/documenso/commit/cfec366c1af9db7e602f0d1e4e9f1df99d47a0b9) fix: refactor ### 📊 Changes **1 file changed** (+25 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `apps/web/src/pages/api/auth/[...nextauth].ts` (+25 -9) </details> ### 📄 Description ## Description Currently users who sign in via Google SSO do not get assigned a Stripe customer account. This enforces the Stripe customer requirement on sign in. There might be a better place to put this so it's open to any suggestions. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 19:33:08 +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#1414
No description provided.