mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-07 20:37:44 +00:00
docs(stripe): Added annual: true on the Create Subscription (#1725)
* Added `annual: true` on the Create Subscription on Stripe Docs * docs: clarify comment for annual plan upgrade in Stripe integration
This commit is contained in:
@@ -208,6 +208,7 @@ await client.subscription.upgrade({
|
||||
plan: "pro",
|
||||
successUrl: "/dashboard",
|
||||
cancelUrl: "/pricing",
|
||||
annual: true, // Optional: upgrade to an annual plan
|
||||
referenceId: "org_123" // Optional: defaults to the current logged in user id
|
||||
seats: 5 // Optional: for team plans
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user