To move a WooCommerce store from NMI sandbox to live, swap to live credentials, turn off any test mode, and run one real low-value transaction you then void or refund. Most failed launches come from a short list of mistakes: sandbox keys left in place, test mode still enabled on the merchant account, or a public tokenization key from the wrong environment. This checklist covers them in order, including the sandbox problems that show up on launch day.
Know which kind of testing you used
NMI documents three methods, and the cleanup differs for each:
- Sandbox account: separate keys and separate portals; all transactions are simulated. Switching to live means entering live credentials.
- Test mode on a real account: Merchant Portal, Settings, Test Mode. Valid cards approve and nothing is sent to the processor. It must be disabled before launch, or every order looks paid and no money moves.
- One-off test transactions: a request with
test_mode=enabledand a live key. Only that request is simulated.
For card numbers and scenarios, use the sandbox scenarios every launch needs and testing and sandbox in the docs. You can also try the flow on the live demo.
The go-live checklist
- Merchant account is active and set up. Confirm with your processor or reseller that the account is approved, card brands you need are enabled, and ACH is enabled if you take it. Gaps here show up later as setup errors, not decline messages.
- Test mode is off. Check the Merchant Portal setting and confirm the account is not in test mode.
- Live private security key. Create it in Settings, Security Keys with API permission, and paste it into the plugin. A sandbox key will not authenticate against a live account; see authentication failed and invalid security key errors.
- Live public tokenization key. Collect.js needs its own key with the Tokenization permission. A private key in that field breaks the card fields; see how Collect.js works.
- Sandbox switch off in the plugin. The plugin shows a visible sandbox banner when sandbox is on. If you see it on the live site, you are not live.
- Transaction type is what you intend. Sale takes the money at once; authorize needs a capture later. Read authorize now, capture later before choosing.
- Server can reach the gateway. Outbound HTTPS to the gateway host must work from the production server, which staging often hides; see gateway connection errors.
- Run one real transaction. Use a real card for a small amount, check the order note for the auth code, transaction ID and AVS and CVV results, then void it if unsettled or refund it afterwards.
- Confirm it in the gateway. Find the same transaction ID in the Merchant Portal.
Sandbox problems that look like live problems
- Test card declined in live: test card numbers are not real cards, so a live account declines them. That is correct behavior.
- Amount under 1.00 declines in sandbox: NMI documents this as a deliberate trigger, not a bug.
- Everything approves: suspect test mode or sandbox keys still active.
- Staging copy charges real cards: a database copied from live brings live keys with it. Keep sandbox keys on every non-production site.
If this is a migration or a renewal setup
Going live on a store that already has paying customers is a different risk. Use the migration day runbook when you are replacing another NMI plugin, moving from Stripe when you are changing providers, and the subscription renewal checklist when recurring billing is involved. Subscriptions are an Enterprise feature of NMI for WooCommerce.
After launch
Watch the first day of orders. Compare order count to gateway transactions, check the first declines against their response codes, and keep logging on for a few days with card data redacted. Then settle the remaining items on your list, such as fraud settings and receipts. More developer notes are on the developer resources hub.
Running NMI on WooCommerce? Free covers the basics and Pro adds the paid features. Compare Free and Pro.
Last reviewed November 2026.