Lionvsx
Lionvsx
BABetter Auth
Created by Lionvsx on 3/22/2025 in #bug-reports
[STRIPE] Annual discount & Upgrade
1. When updating a subscription and the user already has a subscription, the existing subscription is fetched incorrectly resulting to trying to create a new sub instead of updating existing one -> ISSUE https://github.com/better-auth/better-auth/issues/1880 -> FIX https://github.com/better-auth/better-auth/pull/1881 2. The getPlanByPriceId doesn't take into account the annual discounted price id -> ISSUE https://github.com/better-auth/better-auth/issues/1942 -> FIX https://github.com/better-auth/better-auth/pull/1941
2 replies
BABetter Auth
Created by Lionvsx on 3/18/2025 in #help
Stripe: how can we renew a cancelled subscription
I am trying to find a way with better auth to access the stripe billing portal again after cancelling a subscription, right now better auth throws an error when the cancel fct is called but the subscription is already cancelled, and from what I know this is the only way to access the billing portal from better auth
3 replies
BABetter Auth
Created by Lionvsx on 3/13/2025 in #bug-reports
pnpx @better-auth/cli generate removing session table
I am doing something wrong, as the cli generate with drizzle adapter automatically removes the session table on each run?
2 replies