Founder deal: 75% off the lifetime licence. Unlimited sites, one payment, every update.See the founder plan
Home / Blog / Fraud and disputes

AVS Settings in the NMI Merchant Portal: Which Rule Should You Choose?

Choose an NMI AVS rule by decline bucket: block clear mismatches, never block unavailable results. Learn the codes, a two week test, and which rule fits your store.

For most WooCommerce stores the right NMI AVS setting is to decline only the clear mismatches and let the uncertain results through for review. Decline when the issuer says neither the address nor the ZIP matches (N). Do not decline when AVS is unavailable (U, R, S, G, I), because that is a gap in the card system, not evidence of fraud. Set the rule in your NMI merchant portal, and check what each result means first.

One caveat on location: NMI portals differ by version and reseller, and the menu names are not something this article can promise. Look for the AVS and security code rules in your portal’s settings, and ask your provider if you cannot find them. The codes below are from NMI’s own documentation.

The AVS results that matter

NMI returns an avsresponse code with each transaction. Group the codes into four buckets.

  • Full match: X (9 digit ZIP), Y, D, M (5 digit ZIP), and 2 and 6 (match plus name). Safe.
  • Partial match: A and B (address only), W (9 digit ZIP only), Z, P and L (5 digit ZIP only), and 1, 3, 5, 7 (with name). One half matched.
  • No match: N and C, and 4 and 8 (no match including name). Neither address nor ZIP agrees.
  • Not available: U (address unavailable), R (issuer system unavailable), G and I (non-US issuer does not participate), E (not mail or phone order), S (service not supported), and 0, O, B (AVS not available).

The full list is explained in AVS and CVV response codes. Note that NMI’s table lists B twice, once as address match only and once as not available, so treat B as ambiguous.

Which rule to choose

  1. Start permissive. Accept every result, but make sure you can see the AVS result on each order. The plugin writes the AVS and CVV results into the order on the Free version, so you can review without changing anything.
  2. Run it for two weeks. Count how many orders came back as no match, and how many of those later turned into chargebacks or were obviously bogus.
  3. Then tighten, one bucket at a time. Start by declining N and C only. Leave partial matches alone, because a mismatched ZIP is common for legitimate buyers who moved or typed their billing address differently.
  4. Never decline on not available. International cards and some issuers cannot return AVS. A rule that blocks U or G blocks your overseas customers.
  5. Re-check after any change. Look for a jump in declines or abandoned checkouts.

Match the rule to your store

  • Digital goods, high fraud pressure: decline no match, hold partial matches for review.
  • Physical goods shipped to the billing address: a partial match is less worrying; consider declining only no match.
  • Gift buyers and international stores: shipping differs from billing by nature. Avoid strict rules, since you will decline good customers.
  • Subscriptions and renewals: AVS is mostly for the first payment. A renewal on a stored card should not fail on AVS, so be careful with rules that apply to every transaction.

Where card testing and mule addresses are your worry, AVS alone is weak. Card not present fraud patterns shows what to combine it with.

What the plugin does and does not do

The plugin shows you the result. It does not currently decline on AVS or CVV by itself: AVS and CVV decline rules, along with velocity limits, are on the public roadmap. Today the decision lives in the NMI portal and your processor, which is why the portal setting matters. The roadmap is on the fraud rules and AVS page.

Billing fields matter too. AVS compares the address and ZIP the customer typed. If your checkout hides the billing address or marks it optional, you will get more unavailable results and weaker protection, so keep the fields required.

If a legitimate customer is blocked

  1. Find the order and read the AVS code and response text.
  2. If the code is no match, ask the customer to confirm the billing address the bank has on file. It is often an old address.
  3. If the code is not available and the rule still blocked it, your portal rule is too broad; where to look first shows how to separate a rule from an issuer decline.
  4. Do not loosen the rule for one customer without a note on why.

Checking the rest of your portal

AVS is one of several portal settings that change how WooCommerce orders behave. A short list of the others is in NMI merchant portal settings to check before connecting WooCommerce. If the portal shows a merchant configuration error rather than an AVS problem, see code 410. Stores that run several merchant IDs should set AVS rules per account, as covered on the multiple merchant IDs page, and the reasons to keep your own merchant account include having this control at all. Rule behavior and exact options depend on your processor, so confirm anything you rely on with them.

Running NMI on WooCommerce? Free covers the basics and Pro adds the paid features. Compare Free and Pro.

Related guides: Do Not Honor Due to AVS/CVV Settings: Fixing the Gateway Rule | Reading AVS and CVV Results in WooCommerce Order Notes | AVS Codes R, U, S and G: Retry, Unavailable and International Cards

Last reviewed November 2026.

Keep reading

NMI for WooCommerce

See where fraud rules are heading

Check what NMI does today and which AVS and CVV rules are planned for the plugin.

See fraud rules and AVSSee pricing

AVS and CVV results show on every order in Free.