samedi 24 novembre 2018

Smartest way of having a subscription but multiple users subscribe to it [STRIPE]

I have a monthly subscription and the amount are only $5 - $50, ($5 intervals).

One user chooses a plan for their account and another user can buy that persons plan. Problem comes with, lets say I want to call if user A is subscribed to User B. I can't call a $user->subscribed('plan5') because what if other users are subscribed to the same plan?

How can I go around this? Would I need to create a new plan for each user? And then subscribe them to that plan?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire