Merchant Production Gating & KYC Approval Flows
Merchants now require admin KYC approval before going live. Shared gating logic enforces KYC approval, spender discovery eligibility, and production readiness consistently across all platform surfaces.
Merchant production access control in settings with readiness checks for admin approval, operating days, and sellable offerings above R10.
Shared gating helpers for KYC approval, spender discovery, and production readiness enforcement across all platform surfaces.
Database schema update for the new merchant production readiness status.
Hustlers can only create new hustle profiles after KYC approval; new profiles now start in pending_approval instead of going live immediately.
Spender search and session entry now only allows business profiles that are active, admin-approved, and production-ready.
Merchant settings now separate temporary operational pause from production go-live state so active sessions can still be fulfilled while new discovery is blocked.
Profile loading now keeps non-deleted hustle profiles available to the owner, including paused and pending-approval profiles.
Replaced legacy spender discovery filters that no longer matched the current merchant status model.
Added a server-side session creation guard so direct API calls cannot bypass profile gating rules.