How to manage a stripe plan upgrade
Hi everyone,
I'm trying to upgrade a user's subscription plan using Better-Auth and Stripe. Here’s the snippet I'm using:
What is the correct way to handle a subscription upgrade better-auth/stripe?
I missing something essential in this method call
Do I need to build my own plugin or custom logic to handle the subscription upgrade properly ?
4 Replies
You ever figured this? I can only create new subscriptions instead of changing/upgrading/downgrading via checkout for example
Hey guys, here for the same issue. Struggling to set up an upgrade for the users from one plan to another with pro-rata pricing. At the moment when a user moves from one subscription to another its just creating a new subscription and keeping the previous active - this would double charge so I need to find a way to have it actually upgrade the existing subscription. Did you find a way to do this?
Still waiting for an PR to merge that will send the user to their billing portal or either updates the previous subscription. There are open PRs for it though
Do something yourself with the stripe API. There is a ton of missing things, you will lose time