Clément
BABetter Auth
•Created by Clément on 4/28/2025 in #help
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 ?
1 replies
BABetter Auth
•Created by Clément on 4/19/2025 in #bug-reports
Period fields not populated after stripe subscription
Hello,
period_start
and period_end
fields in the subscription object are not populated after a user subscribes via subscription.upgrade
.
Stripe : 17.7.0
Better-auth : 1.2.718 replies
BABetter Auth
•Created by Clément on 4/2/2025 in #bug-reports
Issue: Session not retrieved on latest safari version
Description
I'm encountering a session-related issue On modern browsers, specifically the latest version of Safari. While session retrieval
works fine on Chrome
, it fails on Safari.
Context
Backend: Running on Hono (Cloudflare Workers)
Frontend: Hosted on Vercel
Setup: The frontend and backend are on different domain names
Troubleshooting Attempts
I tried setting partitioned: true
and removing secure: true
, but this caused issues across all browsers, making the situation worse.
I'm not sure if this is a bug or if I misconfigured better-auth. Does anyone have insights into why Safari is blocking session retrieval while Chrome works fine? Any suggestions on how to resolve this?10 replies