[GH-ISSUE #1880] Stripe update with existing subscription #8958

Closed
opened 2026-04-13 04:12:23 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @Lionvsx on GitHub (Mar 19, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/1880

Originally assigned to: @himself65 on GitHub.

Is this suited for github?

  • Yes, this is suited for github

To Reproduce

  1. Create a first subscriptions
  2. Try to update the subscription to a higher plan by passing the subscriptionId to the upgrade method

Current vs. Expected behavior

Right now, it does create another subscription on stripe and doesn't update the db

Expected behavior is that it updates the current subscription

What version of Better Auth are you using?

1.2.4

Provide environment information

"@better-auth/stripe": "^1.2.4",

Which area(s) are affected? (Select all that apply)

Backend

Auth config (if applicable)


Additional context

No response

Originally created by @Lionvsx on GitHub (Mar 19, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/1880 Originally assigned to: @himself65 on GitHub. ### Is this suited for github? - [x] Yes, this is suited for github ### To Reproduce 1. Create a first subscriptions 2. Try to update the subscription to a higher plan by passing the subscriptionId to the upgrade method ### Current vs. Expected behavior Right now, it does create another subscription on stripe and doesn't update the db Expected behavior is that it updates the current subscription ### What version of Better Auth are you using? 1.2.4 ### Provide environment information ```bash "@better-auth/stripe": "^1.2.4", ``` ### Which area(s) are affected? (Select all that apply) Backend ### Auth config (if applicable) ```typescript ``` ### Additional context _No response_
GiteaMirror added the lockedbug labels 2026-04-13 04:12:23 -05:00
Author
Owner

@devmattrs commented on GitHub (Jun 1, 2025):

Anyone figure this out? I'm doing it manually but I feel like that defeats the purpose of the word "upgrade". So maybe the function should be called something else?

Or is this an environment issue of some kind?

<!-- gh-comment-id:2927902750 --> @devmattrs commented on GitHub (Jun 1, 2025): Anyone figure this out? I'm doing it manually but I feel like that defeats the purpose of the word "upgrade". So maybe the function should be called something else? Or is this an environment issue of some kind?
Author
Owner

@oRafael07 commented on GitHub (Jun 7, 2025):

up

<!-- gh-comment-id:2951561823 --> @oRafael07 commented on GitHub (Jun 7, 2025): up
Author
Owner

@ping-maxwell commented on GitHub (Jul 10, 2025):

Hey guys, are you still experiencing this issue on the latest version?

<!-- gh-comment-id:3057227250 --> @ping-maxwell commented on GitHub (Jul 10, 2025): Hey guys, are you still experiencing this issue on the latest version?
Author
Owner

@klaus-2 commented on GitHub (Jul 10, 2025):

Hey guys, are you still experiencing this issue on the latest version?

yh, I'm having this problem and trying to find a solution...

<!-- gh-comment-id:3058732538 --> @klaus-2 commented on GitHub (Jul 10, 2025): > Hey guys, are you still experiencing this issue on the latest version? yh, I'm having this problem and trying to find a solution...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#8958