sadmann7 / skateshop

An open source e-commerce skateshop build with everything new in Next.js.
https://skateshop.sadmn.com
MIT License
5.1k stars 731 forks source link

changing subscription and adding multiple stores for non subscriber #79

Open Laxya911 opened 9 months ago

Laxya911 commented 9 months ago

Hi, i was testing this for couple of days now , and this is first time i am opening issue. sorry for being noobs and if i missed some steps during setting up the environment for testing. let me explain what i have done. after cloning the repo, i populate all the required env variables. download packages, pushed the database and run the app. then sign up and go straight to the dashboard. as described by default user can have one store and 20 products without need of any additional subscriptions. then i created the store connect to stripe added products as well. so far so good, now when i subscribed to any of the other subscriptions, i still can see my plan as Ollie (which is default i believe) and i can subscribe the same plan multiple times. so my point is once user subscribed for upgraded plan current plan should reflect in users dashboard not the default one. and if user try to subscribe same plan before expire then we should have some kind of information or alert system to the user that selected plan is already subscribed and if user still insist to go ahead and subscribe then we can allow else user can cancel the process. one more thing i noticed is user can add multiple store even user did not make any upgraded subscription. again sorry for the long message.

Laxya911 commented 9 months ago

sorry i forgot to mention that if the issue i mentioned is still to implement then we can close the issue just please someone confirm. thanks.