[PR #2862] [MERGED] docs(stripe): document switching plans on a subscription #4529

Closed
opened 2026-03-13 11:49:59 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2862
Author: @rgodha24
Created: 6/1/2025
Status: Merged
Merged: 6/10/2025
Merged by: @Bekacru

Base: mainHead: document-switching-plans


📝 Commits (2)

  • 5def489 docs(stripe): document switching plans
  • 6a35b2a Update docs/content/docs/plugins/stripe.mdx

📊 Changes

1 file changed (+16 additions, -0 deletions)

View changed files

📝 docs/content/docs/plugins/stripe.mdx (+16 -0)

📄 Description

fwiw, I think that making the user pass the subscriptionId parameter to make sure that they don't double charge their users is a really bad footgun. imo, it makes a lot more sense to default to updating subscriptions when there is already an active subscription.

needs #2864 to be merged before it actually works


🔄 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/2862 **Author:** [@rgodha24](https://github.com/rgodha24) **Created:** 6/1/2025 **Status:** ✅ Merged **Merged:** 6/10/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `document-switching-plans` --- ### 📝 Commits (2) - [`5def489`](https://github.com/better-auth/better-auth/commit/5def4893cc009db342a6357706b4f33f894ea1a1) docs(stripe): document switching plans - [`6a35b2a`](https://github.com/better-auth/better-auth/commit/6a35b2a77156b4587d98b1386dc5b3b0a6c5b82e) Update docs/content/docs/plugins/stripe.mdx ### 📊 Changes **1 file changed** (+16 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/plugins/stripe.mdx` (+16 -0) </details> ### 📄 Description fwiw, I think that making the user pass the `subscriptionId` parameter to make sure that they don't double charge their users is a really bad footgun. imo, it makes a lot more sense to default to updating subscriptions when there is already an active subscription. needs #2864 to be merged before it actually works --- <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-03-13 11:49:59 -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#4529