bpuig / laravel-subby

Laravel Plan and Subscriptions manager.
https://bpuig.github.io/laravel-subby
MIT License
104 stars 42 forks source link

If user has more than one subscription, does not return total value of both subscription's feature #135

Closed arimedya closed 1 year ago

arimedya commented 2 years ago

Let's say a user has one "main" subscription and "sub" subscription.

This both plan has posts_per_social_profile feature. Main subscription's plan: posts_per_social_profile => 5 sub subscription's plan: posts_per_social_profile => 2

$amountOfPosts = $plan->getFeatureByTag('posts_per_social_profile')->value;

This code, return value only for one plan.

How can i get this feature value "posts_per_social_profile" as 7 ?

Help please!

Thanks in advance.

bpuig commented 2 years ago

Hello, at the moment this is not possible, the multiple subscription I think it's more aimed toward having different features.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.