[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
GitHub
Stripe update with existing subscription · Issue #1880 · better-aut...
Is this suited for github? Yes, this is suited for github To Reproduce Create a first subscriptions Try to update the subscription to a higher plan by passing the subscriptionId to the upgrade meth...
GitHub
[STRIPE] Webhook not working for annual discount price ids · Issue ...
Is this suited for github? Yes, this is suited for github To Reproduce Define a plan containing annual price id Checkout Sub hasn't updated in DB Current vs. Expected behavior CURRENT : webhook...
0 Replies