Server odds β’ Click to inspect
STRIPE_SECRET_KEY in .env β then βPay with Cardβ creates a real Stripe Checkout. All rolls are server-side β no client cheating. Balances & inventory are stored in data.json (swap to Postgres for production). Demo: create any username/password. Stored locally in data.json with hashed passwords.
STRIPE_SECRET_KEY is set on server, this creates a real Checkout. Otherwise use Mock.STRIPE_SECRET_KEY and use the Stripe webhook at /api/webhook/stripe.Mock withdraw deducts balance and logs transaction. Plug real payout (Stripe Connect, Coinbase Commerce, manual) in POST /api/withdraw.