Checking the subscription status

Laraship QuestionsCategory: TechnicalChecking the subscription status
1 Answers
Best Answer
laraship Staff answered 11 months ago

Hello, Please be informed that standard license does not support customization services as mentioned clearly in the license types comparison
https://www.laraship.com/laraship-license-types/
however, as an exception here the the way to check user active subscriptions

                    if (user()->activeSubscriptions->where('plan_id', $subscription_plan->id)->count()) {

}