nextjs-subscription-payments icon indicating copy to clipboard operation
nextjs-subscription-payments copied to clipboard

Adding a conditional that invokes a "get stripe dashboard" function i…

Open k-thornton opened this issue 1 year ago • 2 comments

…f the user is already subscribed, to disallow a second subscription from being created.

Addresses https://github.com/vercel/nextjs-subscription-payments/issues/366

k-thornton avatar Sep 13 '24 23:09 k-thornton

@k-thornton is attempting to deploy a commit to the Vercel Solutions Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Sep 13 '24 23:09 vercel[bot]

The fact that the maintainers switched the button text between "Manage" and "Subscribe" leads me to believe that invoking the client dashboard was the way this was intended to work.

k-thornton avatar Sep 13 '24 23:09 k-thornton

Thank for you opening a PR to make this example better.

We are sunsetting this example in favor of a newer, more modern SaaS starter example.

You can check it out here -> https://github.com/nextjs/saas-starter

leerob avatar Jan 23 '25 15:01 leerob