Stripe test mode to live: checks before your first sale
TL;DR
Switching the frontend key alone does not finish a Stripe launch. Confirm the server credentials, live prices and webhook configuration belong to the same live setup before accepting customers.
Match the deployed app's payment mode
Check production configuration without copying credentials into chat, screenshots or logs. Publishable keys can be used in the browser; secret or restricted server keys must remain on the server.
Sandbox objects and live objects are separate. Confirm the product and price IDs your production checkout uses exist in live mode, with the intended currency, amount and recurring interval.
Verify the live webhook, not just the redirect
Configure the live endpoint for the events your integration actually handles. Its signing secret is separate from the API key and from a sandbox endpoint's signing secret.
Verify signatures using the unmodified request body and make repeated events safe to process. Grant access from verified payment state. A visitor can open a success URL without completing payment.
Test failures before enabling live sales
In a sandbox, test a successful payment, a declined payment, cancellation and purchase restoration or subscription access where relevant. Confirm failed and abandoned checkouts do not unlock the product.
When you enable real sales, monitor the first genuine order through payment confirmation, delivery and access. Do not treat a checkout-button click as revenue. Avoid creating live charges simply to test the button.
Make the offer and support clear
Show the price, billing frequency and what the buyer receives before checkout. Check support, refund and cancellation information, plus any receipt or delivery emails.
If checkout fails, give the buyer a useful recovery path and keep privileged error details out of the public message. Recheck configuration whenever a deployment changes payment settings.