Founder deal: 75% off the lifetime licence. Unlimited sites, one payment, every update.See the founder plan
Home / Complete guide

The Complete Guide to NMI Payments for WooCommerce

What NMI is, how a gateway fits with a processor and merchant account, how to set up NMI in WooCommerce, and where to go when something breaks.

NMI payments for WooCommerce in one page

NMI is a payment gateway. In a WooCommerce store it sits between your checkout and your payment processor: the customer enters card details, the gateway sends the request to the processor, the processor asks the card issuer, and the answer comes back as an approval or a decline. NMI for WooCommerce is the plugin that connects WooCommerce to that gateway. You need three things to take payments: a merchant account, a gateway account, and a plugin. This guide explains how they fit together, how to set up, which features exist on which plan, and where to look when a payment fails.

Gateway, processor and merchant account

People use these words as if they meant one thing. They do not. The merchant account is your account at an acquiring bank, which lets you receive card money. The processor routes transactions to the card networks. The gateway securely passes the payment data from your site to the processor. NMI is the gateway; your processor or reseller supplies the account and controls fees, enabled card brands, ACH and any reserve. Read gateway vs processor vs merchant account for the longer version, and how to find out which gateway your store uses if you inherited a setup. If you do not have an account yet, the WooCommerce merchant account guide covers how to get one.

This split matters for troubleshooting. A plugin cannot enable a card brand your account does not accept, and a processor cannot fix a wrong security key. Knowing the layer saves hours. NMI reports problems through a numeric response code, and the first digit points to the layer: issuer declines, gateway rejections or processor and setup errors. The response code lookup lists them.

Setup path

  1. Confirm your merchant account and gateway. Ask your processor to confirm which card types are enabled, and whether ACH is available if you want it.
  2. Create credentials in the NMI merchant portal: a private security key for the server and a public tokenization key for the checkout fields. See where to find your security key and how to create a public tokenization key.
  3. Review portal settings such as AVS and transaction types, using the merchant portal settings checklist.
  4. Install the plugin and test in a sandbox. Get an account from the sandbox guide and read the installation docs.
  5. Run test orders: a sale, a void and a refund. Test cards only work in test environments, see why test cards fail in live mode.
  6. Go live with the go-live checklist.

What the plugin gives you, by plan

The free plan includes hosted card fields through Collect.js, so card numbers never reach WordPress, plus sale, authorize and validate, partial capture, partial refund, void, order notes with the gateway response, redacted logging, a sandbox banner, Blocks and classic checkout, and HPOS. Pro adds Apple Pay and Google Pay, 3D Secure 2, the Customer Vault for saved cards, ACH and eCheck, multisite and priority support. Enterprise adds WooCommerce Subscriptions renewals, Level II and III data and multiple merchant IDs with routing. Some ideas, such as surcharging and a virtual terminal, are on the public roadmap and not shipped. See features, Free vs Pro and the pricing page.

Taking payments well

Decide whether you want a sale or an authorization. Authorize and capture later suits shipped goods; see authorize now, capture later. Know the difference between a void, which works before settlement, and a refund, which works after: void vs refund. If you plan recurring billing, read the renewal checklist and the rules for stored cards in card-on-file CIT and MIT.

On security, hosted fields reduce your exposure, but no plugin makes a store PCI compliant by itself. Confirm what you must complete with your acquirer; PCI attestations for small stores sets expectations.

When something breaks

Open the order notes first. The plugin records the gateway response, the authorization code and the raw response code. Then use the troubleshooting center. Common starting points: a decline on a valid card, credential errors and a missing payment method. Developers will want the developer hub and NMI for WordPress.

Where to go next

Check your extensions in the compatibility hub, your business model in use cases, your options in the comparison hub, and a move from another gateway in switch to NMI. Unfamiliar word? Use the glossary or the FAQ.

NMI basics and how-to guides

What NMI is, how to reach it, and how to set it up.

Gateways and processors

NMI Certification Explained: Gateway, Processor and Plugin

NMI certification can mean gateway-to-processor approval, merchant account approval or plugin compatibility. Here is how to tell them apart and what to ask.

Gateways and processors

NMI Login: Finding Your Gateway Merchant Portal

Use the portal address your provider gave you. NMI's own login is secure.nmi.com, but resellers can white-label it. Here is how to find yours and fix login problems.

Fees and interchange

NMI Gateway Pricing: What Affects the Cost and Who Sets It

NMI gateway pricing is set by your reseller or ISO, not published by NMI. Here are the cost categories to ask about and how to compare quotes fairly.

Store operations

NMI 3DS Setup for WooCommerce: Prerequisites and Checklist

NMI 3DS on WooCommerce needs an enabled gateway account, a supporting processor, a plugin that passes the data, and tested flows. Use this checklist.

Gateways and processors

NMI Support: Who to Contact for Gateway, Processor and Plugin Problems

NMI support usually means your reseller or ISO, not NMI itself. Use this guide to decide who to contact for gateway, processor and plugin problems, and what to send.

Gateways and processors

What Is the NMI Payment Gateway? A Plain Guide for WooCommerce Owners

The NMI payment gateway is software that passes payments from your WooCommerce checkout to your processor. Here is what it does, what it does not, and who controls what.

Developer resources

NMI Payment Gateway API Explained: Payment API, Collect.js and Query API

The NMI payment gateway API is several pieces: the Payment API, Collect.js, the Query API and webhooks. Here is what each does and which key it needs.

Start free, upgrade when the store needs it.

Install from WordPress.org, connect your gateway, take a real order today.

Download from WordPress.orgSee pricing