To switch a WooCommerce store to a new NMI plugin without losing orders, work in this order: inventory what the old plugin does, get new credentials, install and test on staging, schedule the cutover for a quiet hour, swap the gateway, run live test orders, then keep the old plugin’s data and login until open orders and subscriptions are settled. Below is the runbook, written so you can follow it on the day.
This applies whether you are leaving another NMI plugin or an Authorize.Net compatible setup. For the Authorize.Net specifics, see migrating from Authorize.Net.
One week before
- Inventory. In WooCommerce, Settings, Payments, note every setting of the old plugin: transaction type (sale or authorize), enabled card types, checkout title and description, any Apple Pay or ACH options, and which order statuses it sets.
- Check subscriptions and saved cards. Count active subscriptions and stored payment methods. This is the riskiest part. Stored cards live in the NMI Customer Vault or in the old plugin’s own records, so ask your gateway provider whether the vault entries can be used by a new plugin. If your old setup used Authorize.Net customer profiles through the emulator, the vault entries may not map across, as covered in CIM to Customer Vault, card by card. Assume customers may have to re-enter a card, and draft the email.
- Get credentials. Create a new security key and a tokenization key in the merchant portal. If you are on an emulator, you will not use the
api_keylogin format anymore. See gateway credentials. - Confirm account features. If you use wallets, ACH, 3D Secure or Level II and III data, ask your processor to confirm they are enabled on your merchant account. Plan tiers for NMI for WooCommerce are listed on Free vs Pro.
- Back up. Take a full database and files backup, and export your orders.
Staging day
- Clone the site to staging.
- Install the new plugin and enter sandbox credentials. Sandbox mode shows a visible banner.
- Run: a sale, an authorize followed by a capture, a partial refund, a void, and a declined card.
- Test both the Blocks checkout and the classic checkout if your theme can use either.
- Check each test order for the transaction ID, AVS and CVV results and raw response code in the notes.
- If you use subscriptions, follow the renewals pre-launch checklist.
Cutover day
Pick the quietest window in your analytics, and avoid renewal dates and promotions.
- Put a short maintenance notice on the checkout if you can.
- Take a fresh backup.
- Install and activate the new plugin on production, and enter live credentials.
- Disable the old gateway in WooCommerce, Settings, Payments. Do not deactivate or delete the old plugin yet, because it may be needed for refunds and renewals on older orders.
- Place a real order with a small amount, using your own card. Confirm it appears in the NMI portal.
- Refund or void it from the WooCommerce order screen and confirm the result.
- Place one more order on a mobile device.
- Check the front end for the correct payment title, card fields loading and no console errors.
After cutover
- Watch orders for the first 48 hours. Compare WooCommerce order totals with the gateway portal.
- Refund older orders from the plugin that took them. A refund is normally sent back through the original gateway account.
- Keep the old plugin installed and its credentials valid until every open authorization has been captured or voided and every subscription has renewed once on the new setup.
- If you see odd error text, our post on reading compatible mode errors explains how to sort them.
- Remove the old plugin and revoke its security key last.
Rollback plan
Decide in advance what counts as failure: for example, any live order that does not appear in the gateway portal. If it happens, re-enable the old gateway, disable the new one and restore the backup if order data is wrong. Because you did not delete anything, rollback is a settings change. ISOs and agencies migrating many stores can look at the ISO and reseller page, and the comparison hub has related guides.
Last reviewed November 2026.