Implementation: Subscription
Hello guys!
I am currently working on a project in Laravel where the end user has the option to purchase a subscription.
To process the payment I am using the Stripe PHP library.
After the user decides to subscribe, he has the possibility to create systems. These are then available through a subdomain / own domain. The package archtechx/tenancy is used for this.
My question however relates to the following:
Depending on the subscription, the user gets certain features. So for example the standard subscription limits the users to a maximum of 5, whereas the premium subscription allows unlimited users.
So far so good. The question I have now is, what is the best way to build the structure so that the user can only really create the number of users that are intended for the subscription?
Please or to participate in this conversation.