# v451 — Payment Collection Activation Readiness Switch ## Decision Reviewed v450 trial-to-paid conversion test checkpoint and proceeded with payment collection activation readiness switch before changing payment collection, hard billing gates, broker distribution limits, owned portal rules, or internal load-board access. ## What changed - Added Super Admin API `/api/admin/stripe-payment-collection/activation-readiness`. - Added `StripePaymentCollectionActivationReadinessService`. - Added a new **Payment collection activation readiness switch** panel inside `/admin/subscriptions`. - Added six readiness switches: - master checklist closeout reviewed - controlled checkout and portal URL-return evidence reviewed - verified webhook sync evidence reviewed - trial-to-paid checkpoint evidence reviewed - activation guardrails and Stripe mode reviewed - rollback and support plan noted - Stored approvals/revocations as `SuperAdminAuditEvent` records under `STRIPE_PAYMENT_COLLECTION_ACTIVATION_READINESS_SWITCH_UPDATED`. - Added CSV exports for payment collection readiness switches and readiness history. - Extended the billing activation master checklist with v451 readiness switch evidence. - Added `.env.example` flags: - `DISPATCH_SPOT_STRIPE_PAYMENT_COLLECTION_ACTIVATION_READINESS_SWITCH_ENABLED="false"` - `DISPATCH_SPOT_STRIPE_PAYMENT_COLLECTION_ACTIVATION_REVIEW_ONLY="true"` ## What's Visible ### In Super Admin At `/admin/subscriptions`, Super Admin now sees a **Payment collection activation readiness switch** panel after the trial-to-paid checkpoint panel. The panel shows readiness switch status, approval history, controlled URL-return evidence counts, verified webhook sync mutation evidence counts, trial-to-paid checkpoint counts, activation guardrail status, review notes, and CSV exports. ### In Workspace Admin No Workspace Admin workflow changed. ### In Dispatch Workspace No dispatch workflow is blocked. ### In Driver, Broker, Company/Fleet, and Carrier Workspaces No workflow or access rule changed. ## Guardrails - Payment collection remains off. - Live checkout activation remains off. - Customer portal activation remains off. - Webhook subscription mutation remains off except the existing v449 test-only provider-sync mutation path when explicitly enabled. - Trial-to-paid conversion remains off. - Billing status mutation remains off. - Hard billing gates remain off. - Broker distribution limits remain unchanged. - Owned portal rules remain unchanged. - Internal load-board access remains unchanged. ## Validation - Prisma schema changed: No. - Local import preflight passed. - Targeted TypeScript/TSX transpile syntax checks passed for the changed files.