laravel-soulbscription icon indicating copy to clipboard operation
laravel-soulbscription copied to clipboard

$subscriber->canConsume of ALL the subscriptions

Open pixsolution opened this issue 2 years ago • 3 comments

Hello, using this package I realize that it allows you to register unlimited subscriptions for the same user but then when you use its methods $subscriber->subscription or $subscriber->canConsume it does it by default with the last subscription that the user has active, that is it does not take into account the rest of the subscriptions that the user has. So how do I do for example $subscriber->canConsume of ALL the subscriptions that the user has?

pixsolution avatar Jul 18 '23 11:07 pixsolution

or another option $subscription->canConsume It would be better if the subscription is passed, it would make the package more flexible because it would allow the user to have several subscriptions like now but allowing to use the same methods per subscription and NOT per subscriber

pixsolution avatar Jul 24 '23 18:07 pixsolution

Hello @lucasdotvin did you add this enhancement in the last updates?

Regards

pixsolution avatar Dec 22 '23 12:12 pixsolution