The Lemon Squeezy billing plumbing is shipped but the plan tier doesn't actually gate any feature yet. Once billing is live, enforce:
Cloud Solo: max 10 domains (block domains.create past the limit)
Cloud Teams: unlocks unlimited domains and API tokens
Free / self-hosted: unlimited everything (this is how the code already behaves today)
Read the user's tier from the latest lemon_subscriptions row where status IN ('active', 'on_trial', 'past_due').
The Lemon Squeezy billing plumbing is shipped but the plan tier doesn't actually gate any feature yet. Once billing is live, enforce:
Cloud Solo: max 10 domains (block domains.create past the limit)
Cloud Teams: unlocks unlimited domains and API tokens
Free / self-hosted: unlimited everything (this is how the code already behaves today)
Read the user's tier from the latest lemon_subscriptions row where status IN ('active', 'on_trial', 'past_due').