Gift Cards

In PCI DSS terms, a CVV test is either a sandbox check that your payment integration handles the card verification value correctly, or a compliance check that proves your systems never retain the CVV after authorization. PCI DSS prohibits storing the CVV, CVC, or CID at any point after a transaction is authorized, even if that data is encrypted.

That distinction matters because the two activities use different methods and different evidence. A developer runs the first in a test environment. An assessor or security engineer runs the second against production systems, logs, databases, and backups.

What counts as a CVV test under PCI DSS

Teams use the phrase in two situations, and mixing them up causes confusion during an assessment.

  • Sandbox testing: a developer submits gateway-provided test card numbers with placeholder security codes to confirm the integration passes the value to the processor and does not write it anywhere.
  • Compliance verification: an auditor or internal security team inspects code, logs, databases, queues, and vendor tools to confirm no sensitive authentication data survives authorization.

Both are legitimate. Neither involves testing real card numbers you do not own or have written permission to use.

Why PCI DSS bans CVV storage

The card verification value exists to prove the person paying has physical possession of the card. If a merchant stores it, that proof is destroyed and the value becomes just another data point for attackers.

PCI DSS groups the CVV, full magnetic stripe data, and PIN data as sensitive authentication data. The primary account number is treated differently. A PAN can be stored if it is protected with strong cryptography, tokenization, or truncation. Sensitive authentication data cannot be stored after authorization under any circumstances, with a narrow exception for issuers and organizations that support issuing services and can justify the business need.

How to verify your systems do not retain CVV

Work through each place a payment value could land. Most findings come from systems nobody thought of as part of the payment flow.

  • Search application logs, error traces, and APM tools for three-digit values sitting next to a PAN or an order ID.
  • Review database schemas, backup files, message queues, and cache layers for fields named cvv, cvv2, cvc, cvc2, or cid.
  • Confirm the checkout form posts the security code directly to the gateway or a tokenization service rather than through your own servers.
  • Check call recordings, chat transcripts, and support tickets for captured security codes.
  • Re-run the checks after every release. Regressions appear when a developer adds logging for debugging and forgets to remove it.

Document what you tested, when, and what you found. Assessors ask for evidence, not assurances.

Using test CVV values in a sandbox

Sandbox testing is safe when you stay inside the gateway's test framework.

  • Use the test card numbers published by your payment provider, not numbers from a live account.
  • Any placeholder code works in most sandboxes, but follow the provider's documented values for decline and error scenarios.
  • Keep sandbox API keys separate from production keys, and never copy production card data into a test system.
  • Confirm the sandbox environment is genuinely isolated, since PCI DSS expects separation between development, test, and production environments and between test and production data.

Common gaps assessors find

The same issues show up across merchants of every size.

  • A fraud or order management tool that stores the security code for manual review.
  • Debug logs that captured the full request body during an incident and were never purged.
  • Subscription records where a support agent typed the CVV into a notes field for a card-on-file renewal.
  • A legacy integration that still posts the code to an internal endpoint before forwarding it.

Each of these breaks the same rule and each one is fixable with configuration changes, field removal, and log retention limits.

Key takeaways

A CVV test is a check that your payment flow handles the card verification value correctly and then lets it go. Test with sandbox credentials, verify that nothing in production retains the value, and keep evidence you can hand to an assessor. The goal is simple: the CVV should exist only long enough to authorize the transaction.


Fast digital delivery

You will receive the digital voucher immediately.

Secure Payment

All your data is transmitted with unbreakable SSL-RSA encryption.

Suitable for giving away

You can give away, resell or keep the vouchers.

24/7 customer support

We are available for you 24 hours a day.

ProtectedGiftCards.com Newsletter

Be informed as soon as new vouchers are added or when there are discounts.

Read our complete guide: Buy CVV in 2025: A Buyer's Guide to Prices, Pitfalls, and Avoiding Scams