Gift Cards

Short answer

CVV test success means one thing in legitimate payments work: a test transaction returns an approval inside a processor sandbox using card numbers the processor publishes for testing. You cannot test a real card verification value, and you should not try. Attempting to confirm that stolen card data is live is carding, it is illegal, and it causes direct harm to cardholders and merchants. The rest of this guide covers the legitimate version of the task and the controls that stop the illegitimate one.

Prerequisites for legitimate CVV testing

  • A sandbox or test merchant account from your payment processor.
  • The processor's published test card numbers, including CVV and expiry values.
  • Access to integration logs with PAN and CVV redaction turned on.
  • A written test plan that lists the response codes you need to reproduce.

Run a CVV test in a sandbox

  1. Switch the integration to the processor test environment and confirm with a health check call.
  2. Load a published test card number, its test expiry, and the matching test CVV from the processor documentation.
  3. Submit an authorization request for a small amount and record the full response payload.
  4. Compare the response code to the processor reference table for that test card.
  5. Repeat with the wrong CVV value and confirm the request returns the CVV mismatch decline the processor documents.
  6. Repeat with a missing CVV field and confirm the integration rejects the request before it leaves your server.
  7. Inspect your logs to verify the CVV value and full PAN are masked or absent.
  8. Run the same flow in production with a real card you own through a tokenized checkout.

Never store or log the CVV

PCI DSS Requirement 3.2 prohibits storage of the card verification value after authorization, in any form, even encrypted. Your test plan should include a log inspection step, because debug logging is a common way sensitive authentication data leaks into a system. Use tokens or processor-hosted fields so the CVV never touches your servers.

Declines worth reproducing

  • CVV mismatch on an otherwise valid authorization.
  • Expired card.
  • Insufficient funds.
  • Do not honor.
  • Issuer unavailable or timeout, to test retry logic.
  • Three-D Secure challenge required, then failed authentication.

Spot card testing against your own checkout

Card testing attacks, also called card enumeration or BIN attacks, show up as bursts of low-value authorizations across many card numbers from a small set of IP addresses or devices. Watch for a high ratio of declines, many distinct cards per session, and repeated CVV mismatch responses. Visa and Mastercard both publish guidance on these patterns and on the merchant controls that reduce them.

Controls that cut enumeration

  • Rate limit authorization attempts per IP, device, and card BIN.
  • Require a CAPTCHA or challenge after the first decline.
  • Block or challenge traffic from known proxy and hosting ranges.
  • Enforce a minimum order value on guest checkout.
  • Send CVV mismatch and address verification results to your fraud engine in real time.
  • Alert on decline spikes and on cards used across multiple accounts.

If your goal is to confirm that a card number is live, stop. That work belongs to issuers and to law enforcement, not to a checkout test. If your goal is to ship a payment integration that handles CVV validation well, the sandbox steps above cover it.


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