Moving Stripe from test mode to live mode, what changes and what do people forget?
We are two people launching a small subscription product next week. Checkout, subscriptions and a webhook handler all work in test mode on our staging site, using the sk_test_ key and a webhook endpoint pointing at staging.
Cite
GitShowcase Forum, "Moving Stripe from test mode to live mode, what changes and what do people forget?", https://gitshowcase.com/forum/discuss/moving-stripe-from-test-mode-to-live-mode-what-changes-and-what-do/, accessed 2026-11-29.I am not an engineer by training, so I do not know what "going live" really involves. My assumption is that you swap the keys and flip a switch, but our contractor muttered something about "products not carrying over" and "a different webhook secret", and I did not follow.
What changes between test and live, and what do people usually forget until a real customer hits the error? I would like a checklist I can hand to our contractor and then verify myself, in plain language. We have a production domain on HTTPS and the app reads its keys from environment variables on the host.
Our setup is a Node backend, a hosted checkout page and one webhook endpoint for subscription events.
Write something first.
Give people something to work with: at least 30 words on what happened and what you tried.
That is too long. Keep it under 6,000 characters.
Write the question as the title, 15 to 140 characters, no links.
Pick a category.
Add a name (2 to 40 characters, no links).
That email address does not look right.
That was quick. Read the thread, then try again.
The form expired. Reload the page and post again.
Something went wrong with the form. Reload and try again.
Please complete the check and post again.
Limit reached for now. Try again later.
This thread is closed to new replies.
This thread no longer accepts replies.
Something went wrong with the form. Reload and try again.
Post a reply or question first (name and email), then this browser can vote, edit and accept answers.
You cannot vote on your own post.
Only the author (within 30 days) or the forum team can do that.
That email already has an account. Use your sign-in link instead.
New accounts are paused for the moment. Try again later.
That was already posted.
4 answers
- Casimir L.Member ·
Please do not paste the live secret key into a chat, a ticket or a
.envfile that goes into git. Put it in your host's secret store. Also look at restricted keys: a backend that only creates checkout sessions and reads subscriptions does not need an unrestricted secret key. I read the keys page before our launch, it is worth ten minutes: Stripe API keys.