elements
Start Docs Blog Demos UI 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
  • Issues
  • Changelog
Manual / Payments/ Going Live

Going Live

elements man payments/live

On This Page

  • Get the Live Secret Key
  • Set the Key for Production
  • Deploy
  • Sandbox and Live Data

Get the Live Secret Key

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_...).

Set the Key for Production

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

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

Deploy

Run 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 Data

Sandbox and live data are separate: a sandbox key cannot read 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