When users are logged in and they look at the "Teams" section of the settings pull-down, they have the option to create a team, but the team, upon creation, is not assigned to a plan.
I want to force them to sign up for a plan when they go to create a team, which is consistent with the "no free plan option". Is there a "Spark"-ish way to do this?
I would guess you could make a middleware, that checks if the created team has a plan...if not redirect the user to a page that requires sign up for a plan. Then just make sure the middleware is applied on the appropriate routes.
That would be my initial take based on info provided, but hard to know if that is suitable for your situation.
No, I require the card up front. :-/ There is no free plan.
So a user comes in, signs up for a plan, enters his credit card, then has the option to add a new team, but needs to sign that team up for a plan in the process of creating it.
I am using Team Billing with no free plan and no trial (per the code above). When you look at the user menu, it looks like this:
When you go to the "Create Team" option, it looks like this:
When you click on a Teams settings in this menu, you see this:
So people are able to create teams without having them assigned to a team plan at all. That seems like the wrong user experience. When they create a new team, I would like them to have to choose a plan to create the team. Wondering if there is some secretly best way to do this or if I should just start hackin'.