Your cart is empty
Shop now
+

CVV Test: How Card Verification Value Testing Works

Explore

CVV Test: How Card Verification Value Testing Works

We guarantee gift cards direct to your inbox immediately.
Shop Now!

Let's Work Together

Sign up now with Call of Gift Cards and become eligible for benefits including 10% commission on cards bought from us, awesome conversion rates and much more!
Find Out More

Digital Gift Cards

The market for digital goods and services are growing rapidly. One of the true shifts in online behaviour is the switch from traditional direct online payments and purchase to wallets and gift cards. ...read more
+

Digital Gift Cards

The market for digital goods and services are growing rapidly. One of the true shifts in online behaviour is the switch from traditional direct online payments and purchase to wallets and gift cards. We invite you to start your own online business as a partner of ours. By signing up as a partner you’ll get access to one of the largest gift card databases in the world. All you need to focus on is to market your website and products. Gift cards are quickly outperforming traditional gifts, as they give the recipient the choice to pick their own present from a variety of options. The range of e-gift cards available on the Call of Gift Cards's partner sites includes popular categories such as restaurants, games, travel and fashion.

Gift Vouchers

Traditional gift vouchers are printed paper gifts available in set values that can be spent in specific stores. Open-loop, semi-open loop, and closed-loop are often terms used when referring to gift v...read more
+

Gift Vouchers

Traditional gift vouchers are printed paper gifts available in set values that can be spent in specific stores. Open-loop, semi-open loop, and closed-loop are often terms used when referring to gift vouchers. All gift cards sold via our partners’ websites are closed loop. This means that the gift card can only be spent at a single brand location, for example, an Xbox voucher can only be spent at Xbox etc.

Our Gift Cards

Minecraft Coins – Starfield – Alan Wake 2 – Spotify Gift Card – Madden NFL 24 – Mortal Kombat™ 1 – Garena Shells – FIFA 23 – Assassin’s Creed Mirage – Valorant Points – Grand Theft Auto V – Razer Gold Pin – Cabal Online eCoin – Battlenet Gift Card – Elden Ring – Minecraft Java + Bedrock – Call of Duty: Modern Warfare III - Cross-Gen Bundle – EA SPORTS FCTM 24 Standard Edition Xbox One & Xbox Series X|S – Steam Wallet Gift Card – Battlefield™ V Standard Edition – iTunes Gift Card – PlayStation Network PSN Gift Card – Netflix Gift Card – Google Play Gift Card – Amazon Gift Card – Xbox Live Gift Card – Facebook Game Gift Card – FIFA 20 (Xbox One) – Far Cry 5 - Gold Edition (Xbox One) – NieR:Automata Become As Gods Edition (Xbox One) – SONIC FORCES™ Digital Standard Edition (Xbox Game EU) – Apex Legends™ - Octane Edition (Xbox Game EU) – Mario Kart 8 Deluxe (Nintendo) – Fortnite V-Bucks Gift Card – Nintendo eShop Gift Card – Red Dead Redemption 2 (Xbox One) – Halo 5: Guardians (Xbox One) – The Legend of Zelda: Link's Awakening (Nintendo) – DOOM Eternal Standard Edition (Xbox One) – The Legend of Zelda: Breath of the Wild (Nintendo) – Resident Evil 3 (Xbox One) – Need For Speed Heat (Xbox One) – Assassin's Creed Odyssey - Gold Edition (Xbox One) – Cars 3: Driven to Win (Xbox One) – Call of Duty: Modern Warfare 2 Campaign Remastered (Xbox One) – Team Sonic Racing™ (Xbox Game EU) – Project CARS - Game of the Year Edition (Xbox One) – Mario & Sonic Tokyo 2020 (Nintendo) – Tom Clancy’s Ghost Recon Wildlands - Deluxe Edition (Xbox One) – Forza Horizon 4 Ultimate Edition (Xbox One) – Sekiro™: Shadows Die Twice (Xbox One EU) – Tom Clancy's The Division 2 (Xbox One EU) – Gears 5 (Xbox One) – Dragon Ball Z: Kakarot (Xbox One) – The Crew Ultimate Edition (Xbox One) – Ultimate Marvel vs. Capcom 3 (Xbox One) – Pokemon Let's Go Eevee! (Nintendo) – Sonic Mania (Xbox Game EU) – UFC 3 - Deluxe Edition (Xbox One) – Mass Effect Andromeda - Standard Recruit Edition (Xbox One) – BioShock: The Collection (Xbox One) – A Way Out (Xbox One) – Borderlands 3 (Xbox One) – Overcooked! 2 (Nintendo) – World of Warcraft – PUBG Gift Card – Spyro Reignited Trilogy (Xbox One) – Aeria Points Gift Card – Destiny 2: Shadowkeep (Xbox One) – Steep (Xbox One) – Infinite Minigolf (Xbox One) – Rage 2 (Xbox One) – Fire Emblem Warriors (Nintendo) – Anthem (Xbox One) – Kingdom Hearts 3 (Xbox One) – FIFA 19 (Xbox One) – Goat Simulator (Xbox One) – The Elder Scrolls Online (Xbox One) – FOR HONOR™ Standard Edition (Xbox One) – IMVU Prepaid Gift Card

CVV Test: How Card Verification Value Testing Works

A CVV test checks whether the card verification value entered at checkout matches the value the issuer has on file for that card. The issuer answers with a single letter code, such as M for match or N for no match, inside the authorization response. Developers reproduce the same check in a payment sandbox using test card numbers, which keeps live card data out of the process.

What is a CVV test?

The CVV is the short security code printed on a payment card. Visa, Mastercard, and Discover use a three digit CVV2 on the back. American Express uses a four digit CID on the front.

The code exists to prove that the person entering a card number holds the physical card. That matters for card-not-present transactions, where no chip or signature is available.

A CVV test is the moment a processor sends that code to the issuer and gets a verdict back. The check runs during authorization, alongside checks for card number validity, expiry date, and billing address.

What do CVV test result codes mean?

Issuers return one of a small set of codes in the authorization response. Most processors pass these through to the merchant.

  • M (match): the code submitted matches the issuer's record.
  • N (no match): the code is wrong.
  • P (not processed): the issuer did not run the check.
  • S (should be present): the card requires a CVV, but none was submitted.
  • U (unknown): the issuer does not participate in CVV verification.

A P or U result is not a pass. It means the check never happened, so the merchant carries the risk without any evidence either way.

How does CVV verification fit into an authorization?

  1. The customer submits the card number, expiry date, and CVV at checkout.
  2. The gateway checks the format and length of each field before sending anything.
  3. The gateway sends an authorization request to the card network, which routes it to the issuer.
  4. The issuer returns an approval or decline plus a CVV code.
  5. Merchant rules decide whether a no-match result blocks the sale or shifts liability to the merchant.

CVV verification is separate from address verification (AVS). A transaction can pass one and fail the other, which is why gateways report them as two distinct fields.

How do you run a CVV test in a sandbox?

Every major processor ships a test mode with published test card numbers that trigger known responses. You pick a card number, pair it with a specific CVV value, and confirm that your code handles the answer the way you expect.

Sandboxes differ in how they treat CVV input. Some return a match for any code. Others map one defined value to a no-match response so you can build and test your decline path.

The practical goal is simple: prove that your integration reads the CVV code, logs nothing sensitive, and routes no-match cases through the rule your business set.

What is the legal line with CVV testing?

Testing CVVs on your own cards, or on sandbox numbers your processor provides, is normal engineering work.

Running live CVVs against card accounts you do not control is carding. In the United States that falls under 18 U.S.C. § 1029, which covers the production, sale, and use of counterfeit access devices. Buying card data to test it is the same offense as using it.

Merchants and developers should treat any real card credential they did not receive from the cardholder as off limits, including during debugging.

What does PCI DSS say about storing CVV data?

PCI DSS classifies the CVV as sensitive authentication data. The standard forbids storing it after authorization, even in encrypted form, and even if the merchant plans to delete it later.

That rule applies to test environments too. A debug log, a support ticket screenshot, or a database dump that contains a real CVV is a compliance problem regardless of intent. Sandbox values exist so you never need the real thing.

Common CVV testing mistakes

  • Logging full request payloads, which writes live CVVs into plain text files.
  • Testing against production cards instead of sandbox numbers.
  • Treating a CVV no-match the same as an AVS no-match in your code.
  • Assuming a CVV failure always blocks a sale. In the US, many merchants accept the charge and absorb the chargeback risk.
  • Ignoring P and U codes, which leave a transaction unverified but approved.
  • Hardcoding a single test CVV and never exercising the failure branch.

Frequently asked questions

Does a CVV mismatch always block a payment?

No. The issuer reports the result, and the merchant decides what to do with it. Many US merchants approve the transaction and accept the added risk because declining good customers costs more than the occasional chargeback.

Can you test a CVV without a real card?

Yes. Sandbox test cards and simulated response codes cover every CVV outcome you need to handle, including match, no match, and not processed.

Is a CVV the same as a PIN?

No. A PIN authorizes debit and ATM transactions and never travels to the merchant. A CVV verifies that a card is in hand during a card-not-present purchase.

Why do some test cards accept any CVV?

Because a sandbox has no issuer behind it. The processor returns a canned result, so the CVV field often gets ignored unless you use a value the documentation ties to a specific response.

Best practices for CVV test coverage

Build one test per outcome code and assert on your application's response to each. Store only the response code, never the submitted CVV. Run the same suite after every gateway or processor upgrade, since test behaviors change between API versions. When you work with a live acquirer, confirm in writing which CVV outcomes lead to a decline and which lead to a liability shift.

What's New

Why I Can't Write a CVV Buying Guide

I can't write a buying guide for CVVs or stolen card data. I can help with card-fraud prevention, PCI DSS, and payment-security content instead.

Read our complete guide: What to Know Before You Buy CVV: Prices, Scams, and Legal Risks