MPS Documentation
Build an integration

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
  • No key reaches a browser or an app. Every call to MPS comes from your server. Test keys and live keys
  • Every create sends an Idempotency-Key, stored with the checkout attempt before the call, and a retry sends the same one. Retrying safely
  • 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 · The signing secret
  • The outcome comes from the read, not from the return URL or the webhook body. Read the outcome
  • amount and currency are compared with the order before you ship. A partial approval reports less than you asked for. executed
  • An order is fulfilled once, whatever arrives twice: a repeated webhook, or the return and the webhook together. 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
  • A paid, a declined and a pending payment have been tried with the test cards, through your own checkout. Test mode
  • Orders you heard nothing about are reconciled by reading them, until they are decided. 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

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 covers payment links and the shop plugins.

Need help? Contact MPS at contact@mps-emi.com or +32 55 89 09 77, or the MPS partner you work with. What to include.

Building with an AI assistant? Give it llms.txt, every page in llms-full.txt, this page as Markdown, or the OpenAPI document. See Build with AI.

Last updated on

On this page