Get user subscription limits

Get user subscription limits

Laraship QuestionsCategory: TechnicalGet user subscription limits
matt asked 5 months ago
I have a plan with a feature called ‘cards’ that is set to type quantity.
How do I get this value based on the current user? For example, if the current user is subscribed to the ‘Silver’ plan that has a ‘cards’ quantity of ‘5’, how do I get that value so I can use it?
Thanks
matt
replied 5 months ago

Hello?

laraship
Staff replied 5 months ago

Hello Matt, Usage-based tracking feature is not available, we are happy to add it as customization service, please email us at [email protected] for quote.

matt
replied 5 months ago

Hi. I don’t want to track the usage, I just want to know what the feature value is.

OK, let me ask it another way:

How can I check what subscription the current user has?

Once I know what subscription the current user has, how do I return the features of that subscription plan?

Can I return the features of the plan as an array for example?

1 Answers
laraship Staff answered 5 months ago
Hello,
Since users can have multiple subscriptions, first you need to get active subsctipnions
[crayon-5f72ba3c35f70121367555/]
[crayon-5f72ba3c35f7f972870914/]
matt
replied 2 months ago

Can you update this question please? The code you provided has gone missing!

Thank you.

harter patrick
replied 4 weeks ago

Can you update this question please? The code you provided has gone missing!

Thank you.

70% OFF

No Minimum, No Exceptions
 
GO TO STORE
close-link