A CVV2 failure decline means the card’s security code did not pass the check, so the payment was refused even though the card number may be valid. The cause is usually a mistyped code, an old autofilled code or a rule that rejects any CVV mismatch. Retry once with the code printed on the card, then switch cards if it fails again.
What a CVV2 failure means
CVV2 is the 3-digit code on the back of most cards, or the 4-digit code on the front of American Express. The gateway sends it to the issuer, and the issuer replies with a letter result. A mismatch is an N, explained in CVV response codes M, N, P and U. Some customers see this as “cv2 declined” or “declined cvv2, what does it mean”. It is the same thing.
Two different mechanisms produce a decline here:
- The issuer declines. The bank rejects the authorization. In NMI terms the numeric result is code 225, Invalid card security code, which usually corresponds to the CVV failure family. It depends on the processor.
- A rule declines. The issuer approved, but a gateway or processor rule voided the sale because the CVV result was N. That can appear as a generic decline. A card issuer declined CVV sometimes looks like this, though the bank approved the funds.
Read the response to tell which one you have. Our AVS and CVV overview covers the letters in general.
Why a CVV2 failure happens
- Typo. One wrong digit, or the number from a different card.
- Wrong length for the brand. A 4-digit code is needed for Amex, 3 for most others.
- Autofill. The browser filled an old code or an expired card’s code.
- Reissued card. Same number, new code.
- Hosted field not filled. The field was empty, hidden by a theme or blocked by a script, so no code was sent. See CVV required errors with hosted fields for that path; it is a different failure.
- Guessing. Someone with a stolen number is trying codes. Several failures on different cards from one IP is card testing.
What to do, step by step
- Open the order and read the response. Note the CVV letter, the AVS letter and the raw response code in the notes.
- If the code is 225 or the CVV letter is N, ask the customer to check the code on the physical card and retry once.
- If the response is a generic decline with a CVV N, ask your gateway provider whether a CVV rule is enabled on your account. Rules like this live at the gateway or processor, not in WooCommerce.
- If CVV passed (M) and the order still failed, the cause is elsewhere. Work through the card was declined diagnosis order.
- If several CVV failures arrive from one IP or email, stop accepting attempts and review the pattern against card testing signs.
Ready-to-use message for the customer:
Your bank did not accept the security code on this payment, so the order was not completed and you were not charged. Please check the 3 or 4 digit code on your card and try again, or use another card.
If an authorization was placed and the order failed, the hold can remain for a while on the customer’s statement. Voiding before settlement releases it from your side; the bank controls how fast it drops off.
When to stop retrying or call someone
- After two failures on one card: stop. Ask for a different payment method. Further attempts risk the issuer blocking the card.
- Many genuine customers failing: call your gateway provider and ask what CVV policy is active, and whether the code reaches the gateway. Ask your processor if a rule applies upstream.
- Customer is sure the code is right: they should call the number on the back of the card. The issuer, not you, holds the real code. Never ask them to send it to you.
- Rule too strict: a CVV N rejection is a defensible default for card not present orders, but it is your risk decision. Confirm options with your processor. See the gateway rule post after it is live; first compare with NMI do not honor.
How NMIWP helps
The plugin records the gateway response on the order, including the CVV and AVS letters, authorization code and raw response code in the order notes. That is Free. Card fields use hosted Collect.js, so you never handle the code yourself. In Sandbox mode you can use a documented matching test code to check the pass path, and a mismatch to see how the note reads. The plugin cannot override an issuer or gateway rule; it shows you the result. Rules by CVV inside the plugin are on the public roadmap, not shipped. See fraud rules and AVS.
Quick answers
What does CVV2 failure mean?
The security code did not match, so the payment was declined or flagged.
Why was my card declined for invalid CVV?
Usually a typo or wrong card brand length. Retry once with the printed code.
Is a CVV2 declined order charged?
The customer is normally not charged. A temporary authorization hold can appear; voiding releases it from your side.
Can I turn off CVV checks?
Not recommended for card not present sales, and the setting is controlled by your gateway or processor. Ask them.
Running NMI on WooCommerce? Free covers the basics and Pro adds the paid features. Compare Free and Pro.
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
Last reviewed November 2026.