factory_membership_checkout
New paid Factory membership checkout is disabled during Capability Control Beta. This compatibility tool returns NEW_MEMBERSHIP_CHECKOUT_DISABLED without creating a Stripe object; existing subscriber renewals, webhooks, entitlement and status rails remain supported.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | factory / factory_pro / factory_team | |
| offer_ref | No | Optional, required together with mission_id: the specific Mission offer this checkout is claimed to fulfill. Same no-authority-by-itself rule as mission_id. | |
| mission_id | No | Optional: attribute this checkout to a Mission offer (Project Pancho, #2837). Carried into Stripe metadata as-is; grants NO authority by itself — only an exact match against SaSame's own durable, selection-proof-validated Mission offer lineage ever counts as real Mission fitness/North-Star evidence. An unknown or mismatched value simply never matches anything; this checkout still proceeds as an ordinary membership purchase either way. | |
| variant_id | No | Optional: the specific Mission variant this checkout is claimed to fulfill. Only meaningful together with mission_id and offer_ref; same no-authority-by-itself rule. | |
| principal_id | Yes | ||
| principal_key | Yes | ||
| affiliate_referral_id | No | Optional (#3370): carries the referring agent's referral_id into Stripe metadata as-is, exactly like mission_id/offer_ref above — grants NO authority by itself. Factory account plans are EUR Stripe purchases, which packages/affiliate-settlement's receipt.mjs never accepts as a commission-qualifying receipt (USDC-only by design); this tag exists for durable attribution/audit only, never to mint a commission from a EUR receipt. | |
| analytics_correlation_id | No | Optional opaque journey token; only its SHA-256 hash is stored for cross-channel analytics. | |
| stripe_live_payment_acknowledged | No | Compatibility field only. Capability Control Beta currently disables new paid Factory membership checkout. |