Manual Payments Going Live

Going Live

elements man payments/live Read as markdown

The owner, at dashboard.stripe.com, 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.