[PR #3554] [MERGED] fix(stripe): don't update incomplete stripe session in the db #21781

Closed
opened 2026-04-15 20:35:51 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3554
Author: @Bekacru
Created: 7/23/2025
Status: Merged
Merged: 7/23/2025
Merged by: @Bekacru

Base: mainHead: fix/stripe


📝 Commits (1)

  • 0a82d5c fix: don't update incomplete stripe session in the db

📊 Changes

2 files changed (+12 additions, -44 deletions)

View changed files

📝 packages/better-auth/src/plugins/jwt/index.ts (+2 -0)
📝 packages/stripe/src/index.ts (+10 -44)

📄 Description

closes #3545


Summary by cubic

Stopped updating existing incomplete Stripe subscription sessions in the database. Now, only new incomplete subscriptions are created when needed.


🔄 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/better-auth/better-auth/pull/3554 **Author:** [@Bekacru](https://github.com/Bekacru) **Created:** 7/23/2025 **Status:** ✅ Merged **Merged:** 7/23/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/stripe` --- ### 📝 Commits (1) - [`0a82d5c`](https://github.com/better-auth/better-auth/commit/0a82d5c26bfb70998cf668281dff5eddd15e4532) fix: don't update incomplete stripe session in the db ### 📊 Changes **2 files changed** (+12 additions, -44 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/plugins/jwt/index.ts` (+2 -0) 📝 `packages/stripe/src/index.ts` (+10 -44) </details> ### 📄 Description closes #3545 <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Stopped updating existing incomplete Stripe subscription sessions in the database. Now, only new incomplete subscriptions are created when needed. <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-15 20:35:51 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#21781