https://www.laraship.com/docs/laraship/subscriptions-module/
Hello!
I have https://www.laraship.com/product/paypal-subscriptions / and https://www.laraship.com/product/laraship-subscriptions/?attribute_pa_license-type=standard
How can I check in the code that the user has an active subscription?
1 Answers
Best Answer
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()) {
}
Please login or Register to submit your answer