feat(pricing): sell Business - #20
Merged
Merged
Conversation
The server now resolves both Business variants (2120153 monthly, 2120204 annual), the ids are in the container, and the binary carrying the 3-seat floor is deployed. So the card can offer a real CTA and the Terms can drop "not yet available for purchase". With no plan marked coming soon, the guard rendering that state was dead: the plan union no longer carries the field, so `plan.comingSoon` narrowed to `unknown` and failed the ReactNode check. Removing the branches fixes the type error and the dimming, pill and inert-CTA markup that could no longer render.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
The free-trial box is ticked on both Teams variants, so the 14-day trial is real and the Terms can say so. It was removed earlier precisely because it was not yet true; the Pro trial is granted server-side without a card, whereas this one runs through LemonSqueezy and requires one. Business is deliberately sold without a trial and stays silent on it.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Business is now serveable, so the card can offer it.
Verified in production before flipping anything, rather than after:
That ordering is deliberate. Publishing a CTA before the server can resolve its variant is the failure this whole sequence has been unwinding — Teams shipped that way earlier today and pointed at variant ids the store did not have.
Dead coming-soon rendering removed
With no plan marked coming soon, the plan union no longer carries the field, so
plan.comingSoonnarrowed tounknownand failed theReactNodecheck —tsccaught it. The dimming, the pill and the inert CTA could never render again, so the branches are gone rather than cast around.tsc --noEmitexit 0.One deployment detail worth recording
compose.prod.ymlenumerates every environment variable explicitly. Adding the Business ids to.env.dockhandalone would not have reached the container —variant_id_forwould read an unset variable, returnNone, and the handler would answer 503 for a plan the site was advertising. The passthrough shipped in VoltiusApp/server#21.Still not claimed anywhere
The Teams Terms entry still does not promise a 14-day free trial, and the Business entry never did. Teams' trial depends on the free-trial box being ticked on its LemonSqueezy variants; Business is deliberately sold without one, since its headline value is a commercial licence and pilots are better comped per deal via
admin_override.