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

User can subscribe multiple times and break site functionality

Open KamilTheDev opened this issue 1 year ago • 1 comments

Once a user is subscribed, the pricing buttons change to "Manage", which infers it should now take them to the customer portal to manage their subscription.

However, instead it takes them to the same page to pay for the subscription again. The user can subscribe to multiple plans, and once they're subscribed to more than 1 plan, the site is acting as if they have not subscribed at all (while the stripe customer portal correctly shows their 2+ subscriptions).

KamilTheDev avatar Oct 04 '24 08:10 KamilTheDev

To get around this, I just hid the pricing UI if the user is subscribed. They can still manage their sub in the Account UI.

nicktobolski avatar Oct 20 '24 16:10 nicktobolski

we had a good discussion about this over here: https://github.com/vercel/nextjs-subscription-payments/issues/366 :)

k-thornton avatar Oct 22 '24 21:10 k-thornton