It should work out of the box. I see a message "Please upgrade your subscription to create more teams." if i try to add more teams than should be allowed.
Jun 10, 2016
4
Level 1
Limit to single team
Hi guys,
I need to limit the teams to a single team, I also need to remove the ability to create new teams (from the nav). My subscriptions are as following:
public function booted()
{
Spark::useStripe()->noCardUpFront()->teamTrialDays(10);
/*
Spark::freeTeamPlan()
->maxTeamMembers(1)
->maxTeams(0)
->features([
'First', 'Second', 'Third'
]);
*/
Spark::teamPlan('Basic', 'provider-id-1')
->price(10)
->maxTeamMembers(5)
->maxTeams(1)
->features([
'First', 'Second', 'Third'
]);
Spark::teamPlan('Pro', 'provider-id-2')
->price(20)
->maxTeamMembers(5)
->maxTeams(3)
->features([
'First', 'Second', 'Third'
]);
}
Please or to participate in this conversation.