elements
Blog Demos UI Docs Pricing
Elements Manual
  • Getting Started
  • CLI
  • Build
  • Browser
  • Packages
  • TypeScript
  • Elements HTML
  • Assets
  • RPC
  • Router
  • Session
  • Database
  • Migrations
  • LiveTable
  • Channel
  • Jobs
  • Email
  • Payments
    • Payments Setup
    • Checkout
    • The Webhook
    • Subscriptions
    • Going Live
  • JSON
  • Async
  • Style
  • UI
  • JSOC
  • Config
  • Tests
  • Logs
  • Deploy
  • Editors
  • Recipes
  • Licenses
Manual / Payments/ Going Live

Going Live

elements man payments/live

The owner, at dashboard.stripe.com (opens in a new tab), with live mode on:

  1. Activate the account for live payments: business details and a bank account.
  2. Developers, API keys: copy the live secret key (sk_live_...).

The owner puts it in config/env/production.env, which is gitignored:

config/env/production.env
STRIPE_SECRET_KEY=sk_live_...

Then elements deploy (elements man deploy). A deploy without the key fails its build, and an empty key stops the app at startup. The first checkout registers the production webhook (payments/webhook). There are no prices to recreate in live mode; they come from the app, and there is nothing to open or click after the deploy.

Sandbox and live never mix: a sandbox key cannot see live payments, and the payments rows from development stay in the development database.

Prev SubscriptionsNext JSON
Product
Manual Pricing Compare
Company
History Contact
Legal
Privacy Policy Acceptable Use Terms License Agreement
© Elements Dev Corporation 2026