[1.4.4] Stripe - After create a monthly subscription cannot choose annual plan

  1. What's the Issue?
    I'm using next 16 and better-auth 1.4.4
I have a stripe product with monthly and annual prices, after create a subscription with monthly price I tried to upgrade with annual param

  1. Error messages/api/auth/subscription/upgrade```{ "message": "Cannot update the subscription `sub_XXXXXX` because there are no changes to confirm. Provide a different `price` or `quantity` to update the subscription."}```
  2. How to reproduce
  3. Install better-auth 1.4.4 and stripe plugin 1.4.4
  4. Create Stripe product with two prices
  5. Create a subscription with monthly price
  6. Upgrade to yearly price:
    await authClient.subscription.upgrade({
        plan: "pro",
        annual,
        referenceId: activeOrganization.id,
        subscriptionId: activeSubscription.id,
        returnUrl: "/dashboard",
        successUrl: "/dashboard",
      });
Was this page helpful?