nextjs-subscription-payments
nextjs-subscription-payments copied to clipboard
Adding a conditional that invokes a "get stripe dashboard" function i…
…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 is attempting to deploy a commit to the Vercel Solutions Team on Vercel.
A member of the Team first needs to authorize it.
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.
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