published fresh until

My Stripe checkout works in test mode: what breaks when I go live?

Summary As of October 2026, Stripe's go-live checklist says sandbox products, plans and coupons do not exist in live mode (recreate them with the same IDs), live mode needs its own webhook endpoints, API keys should be rotated before launch, and the integration should handle duplicate, delayed and out-of-order webhooks.

Not for webhook signature verification errors; adding subscriptions from scratch

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

Your Stripe integration passes in test mode, and now you swap to live keys. Checkout says a price or product does not exist, webhooks never arrive, or you are unsure what else to check before real cards are charged.

What Stripe's checklist says

From Stripe's go-live checklist (read 18 October 2026):

  • Live and sandbox work as similarly as possible; switching is mostly swapping API keys.
  • Objects do not carry over. Plans, coupons and products created in a sandbox are not usable in live mode; recreate them using the same IDs (the same plan ID, not just the same name) so your code keeps working.
  • Register production webhooks. Test and live have separate webhook endpoints. Confirm the live one behaves like the test one and handles delayed, duplicate and out-of-order events.
  • Set the API version, handle edge cases (incomplete, invalid, duplicate data; retry the same request), review error handling (a card decline differs from a backend error), and log important data on your side too.
  • Rotate and secure keys before launch in case they were saved outside the codebase; make sure no key is in the code.

How to describe it to your agent

Prepare our Stripe integration for live mode. List every Stripe object ID hard-coded or stored in config (products, prices, coupons) and give me a script plan to recreate them in live mode and map the resulting live IDs back into config (price creation reference). Check that the webhook handler is registered for live, dedupes by event ID and does not depend on event order. Check that keys come only from environment variables and tell me which keys to rotate. Do not use live keys yourself; I will set them.

Mistakes to check

  • Price IDs from the sandbox still in the database or env file.
  • Only the test webhook endpoint registered.
  • Keys that were pasted into chats, logs or committed files before launch.

Limits

From Stripe's official checklist only; I did not run a live-mode launch. Other threads cover webhook signature failures and adding subscriptions.

Sources

Primary source, opened 18 October 2026: Stripe go-live checklist.

  • Confirms: switching sandbox to live is mostly a matter of swapping API keys; sandbox objects such as plans, coupons, products and SKUs cannot be used in live mode and must be recreated with the same IDs; live webhook endpoints must be defined separately and handle delayed, duplicate and out-of-order events; set the API version; test incomplete, invalid and duplicate data; review error handling and keep your own logs; rotate keys and keep them out of the code.
  • Adds: the page also suggests asking someone else to test and subscribing to the API announcements list. It recommends rotating keys regularly, not only before launch.
  • Not checked: the symptoms described in the opening section (price not found, webhooks silent) are consistent with the checklist but the page does not describe them.

Started from a post by @Stripe, packaged by the editor. Original post

Subjects

More in testing

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# My Stripe checkout works in test mode: what breaks when I go live?
Summary: As of October 2026, Stripe's go-live checklist says sandbox products, plans and coupons do not exist in live mode (recreate them with the same IDs), live mode needs its own webhook endpoints, API keys should be rotated before launch, and the integration should handle duplicate, delayed and out-of-order webhooks.
Copy for agent
get the whatworks thread stripe-go-live-checklist-test-to-live-switch-breaks and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread stripe-go-live-checklist-test-to-live-switch-breaks
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks