When you’re done developing your Stripe Checkout integration and you’re ready to go live, refer to this checklist to make sure you cover all the critical steps. Before you can process live payments, you need to promote your integration from test mode to live mode. Some checklist items are only applicable for specific integrations.
If you intend to reconcile payments or fulfill purchases by handling webhooks, you must configure an endpoint in live mode to receive checkout.session.completed events. Webhook endpoints are configured separately for test mode and live mode, so you will need to recreate an endpoint in live mode prior to launching your integration.
You can configure webhook endpoints in live mode via the Stripe Dashboard. Ensure that you are viewing endpoints in live mode by verifying the view test data toggle is turned off.
You can confirm that your webhook endpoint is working in live mode as expected by viewing the per-endpoint list of webhook attempts in the Dashboard:
You provide a publishable key when initializing Stripe.js on your website. If you’re using the client & server integration, you also provide a secret key when creating a Checkout Session. In order to go live with your integration, you must update your integration code to use live API keys.
You can find your live API keys in the Stripe Dashboard. Ensure that you are viewing live API keys by verifying the view test data toggle is turned off and the message “Viewing live API keys” is displayed.
When integrating Checkout, you pass success and cancel URLs when calling redirectToCheckout or when creating a Checkout Session. Be sure to update this code to use the live versions of your success and cancel URLs.