KamoCRM

Send a universe sign-up to its checkout, or to create its organization

Featurekamo-login
Shipped
September 28, 2026 at 6:16 AM UTC
Author
Kamo
Commit
a249e8e

kamo-register parks a paid sign-up's plan in sp_checkout_plan, and the KamoUniverse site's plans are the universes' own (family_premium, community_starter, personal_pro, ...). planCheckoutUrl only honoured starter|business|enterprise, so a buyer who had just verified their email and signed in was dropped on the home screen instead of checkout. planCheckoutUrl moves to lib/planCheckout.ts and accepts the shared contract **************** It forwards the universe to **************** — always the PLAN's universe, since that is the ladder it is sold from — whenever the plan belongs to Family, Community or Personal or kamo-register parked sp_checkout_universe; it clears that cookie with the plan and code. A FREE sign-up into Family, Community or Personal parks a universe and no plan. With no explicit ?next= and no job advert, it now lands on /network/create?universe=<u> in the workspace, where the create page preselects that universe; the cookie is spent on use. Business is the create page's own default, so a Business sign-up lands wherever it always did. The Business funnel is unchanged: **************** still yields **************** with no universe on it. tests/planCheckout.test.mjs pins it (node --experimental-strip-types --test tests/*.test.mjs).

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing