CVV response codes are single letters the gateway returns after checking the security code: M means match, N means no match, P means not processed, S means the merchant said the code is not on the card, and U means the issuer is not certified or did not check. Only M is a pass. N is a strong fraud signal. P, S and U mean there is no answer.
What the CVV response code M, N, P, S and U mean
The result comes back in the cvvresponse field of the NMI transaction response, next to avsresponse. NMI’s reference lists exactly these five. Letters can differ slightly by processor, so check the response your gateway shows.
- M: the code matched what the issuer holds.
- N: the code did not match.
- P: the code was not processed.
- S: the merchant indicated the CVV is not present on the card.
- U: the issuer is not certified or has not provided its encryption keys.
The CVV result is separate from the address check; for that see AVS and CVV response codes. A CVV2 failure that actually declines the order is a different topic, covered in CVV2 failure decline. Here we focus on reading the letter.
Why you get N, P, S or U
Causes, most common first:
- Typed wrong. The customer mixed up digits, or entered the 4-digit Amex code where a 3-digit one was expected, or the reverse.
- Autofill and old data. A browser filled an old card’s code on a new card.
- Card replaced. A reissued card can keep the number but have a new code.
- Card data was stolen without the code. A thief with a leaked number list rarely has the CVV. This is why N matters.
- P: the processor or issuer did not run the check for that card, or the request came without a code.
- U: the issuer cannot validate codes for that transaction.
- S: your checkout told the gateway the code is missing. Check that the form sends the field.
Saved-card and recurring charges often have no CVV at all, because the code must not be stored after authorization. That is normal, so do not use a missing CVV as a fraud signal on a repeat charge.
What to do with each letter
- M: pass. Combine with the address result and order context as usual.
- N: do not ship until you understand why. If the customer made a typo, a second try with the correct code will approve; if the same card fails again, stop. Several different N results on one IP is a card-testing sign; see card not present fraud patterns.
- P or U: treat as no information. Judge by AVS, order value and delivery risk.
- S: look at your own checkout. If you did not flag the card as having no code, S points at a form bug.
Decision rule: CVV N plus AVS N, void it. CVV N alone on a returning customer with a clean history, ask them to retry once. CVV P or U with a good AVS and ordinary value, ship. A CVV pass never overrides a delivery or velocity red flag.
What to tell a customer after an N:
Your bank did not accept the 3 or 4 digit security code. Please check the code printed on your card, and try again. If it still fails, try a different card or contact your bank.
When to stop retrying or call someone
- After two failed CVV attempts on one card, stop and ask for another payment method. More attempts increase the chance the bank blocks the card.
- If many genuine customers get N, ask your gateway provider whether a rule on your account declines on CVV and whether the fields reach the gateway intact. The two possible rule locations are the gateway and the processor, not WordPress.
- If P or U appears on most transactions, ask your processor which cards support CVV validation.
- For an NMI numeric code, an incorrect security code is code 225, Invalid card security code. See NMI gateway response codes. It usually corresponds to the CVV failure family, but that depends on the processor.
How NMIWP helps
The plugin writes the gateway response to the WooCommerce order, including the CVV letter and the AVS letter, plus the raw response code, in the order notes. That is Free. Card entry uses hosted fields from NMI’s Collect.js, so the code never reaches your WordPress server. Sandbox mode accepts a documented matching test code, so you can rehearse an M and an N; see test cards and scenarios. CVV decline rules in the plugin are on the public roadmap. The plugin does not alter the issuer’s answer. For the broader picture, see the card was declined diagnosis order.
Quick answers
What does CVV response M mean?
The security code matched. It is the one clean pass.
What does a CVV result code of N mean?
The code did not match. Treat it as stronger evidence of a problem than an AVS mismatch.
What is CVV2 response code P?
Not processed. No check was done, so you have no answer either way.
Why is there no CVV result on a saved card order?
The code cannot be stored after authorization, so repeat charges usually carry none.
More in this series: Reading AVS and CVV Results in WooCommerce Order Notes | Do Not Honor Due to AVS/CVV Settings: Fixing the Gateway Rule | CVV2 Failure Decline: Why It Happens and How to Fix It
Last reviewed November 2026.