# Production checklist (/production-checklist) > What to check before you switch to a live key, each check linking to the page that explains it. Go through this list before you swap your test key for a live key. Each line links to where it is explained. Nothing here is new. - [ ] **The live key is kept on your backend**, in your key store, and read from there. [Keep the key on your backend](/authentication#keep-the-key-on-your-backend) - [ ] **No key reaches a browser or an app.** Every call to MPS comes from your server. [Test keys and live keys](/authentication#test-and-production-keys) - [ ] **Every create sends an `Idempotency-Key`**, stored with the checkout attempt before the call, and a retry sends the same one. [Retrying safely](/online-payments#retrying-safely-idempotency-key) - [ ] **Webhooks are verified**: signature over the raw body, timestamp within five minutes. Your live key has its own signing secret, and `callbackUrl` is a public `https://` address. [Validating the signature](/webhooks#validating-the-signature) · [The signing secret](/webhooks#the-signing-secret) - [ ] **The outcome comes from the read**, not from the return URL or the webhook body. [Read the outcome](/online-payments#read-the-outcome) - [ ] **`amount` and `currency` are compared with the order** before you ship. A partial approval reports less than you asked for. [`executed`](/payment-lifecycle#executed) - [ ] **An order is fulfilled once**, whatever arrives twice: a repeated webhook, or the return and the webhook together. [Processing them reliably](/webhooks#processing-them-reliably) - [ ] **`401`, `403`, `429` and `5xx` are handled**: the first two are configuration and not retried, the last two are retried with backoff. [Retry policy](/errors-and-rate-limits#retry-policy) - [ ] **A paid, a declined and a pending payment have been tried** with the test cards, through your own checkout. [Test mode](/online-payments#test-mode) - [ ] **Orders you heard nothing about are reconciled** by reading them, until they are decided. [Reconcile what you did not hear about](/payment-lifecycle#reconcile-what-you-did-not-hear-about) - [ ] **A `payment.received` for an order you closed is still handled**: a late ANNA payment can turn a `failed` or `abandoned` payment `executed`. [A late ANNA payment](/payment-lifecycle#a-late-anna-payment) Then create a live key under **Online › API keys** on the MPS platform, in **Live** mode. It can be created once the merchant has signed its contract with MPS; the screen says so while it has not. Test mode and live mode use the same hosts and the same calls: only the key changes. Not building your own integration? [Switch to live payments](/take-live-payments) covers payment links and the shop plugins. ## Related - [Payment lifecycle](/payment-lifecycle): every state and what to do with it - [Webhooks](/webhooks): receive and verify webhooks - [Integration examples](/integration-examples): one runnable server in C#, TypeScript, Python and PHP - [Errors and rate limits](/errors-and-rate-limits): what to retry and what not to