Gift Cards

A CVV test template is a reusable set of sandbox card values, a test card number, an expiration date, and a test CVV, that you paste into a payment form to confirm your checkout, validation, and error handling behave the way you expect. The values come from your payment processor's published test card list. They are fake and map to no real account.

CVV Test Template Details: What the Term Means and Why It Signals Card Fraud

It is not a way to check whether a real card is live. Running real card numbers through a test template is card fraud under 18 U.S.C. 1029, and it ends with a closed merchant account and a criminal referral.

cvv test template tutorial

Before you start

  • Sandbox or test API keys from your payment gateway, never production keys.
  • The gateway's developer documentation open to its test card list.
  • A staging environment that is separate from your live storefront.

How to build and use a CVV test template

  1. Open the gateway's test card documentation and copy the published test numbers, expiry dates, and CVV values.
  2. Create a plain text file or spreadsheet with three columns: number, expiry, CVV. Label the file as sandbox-only.
  3. Add one row per scenario you need: an approval, a generic decline, a CVV mismatch decline, and an expired card.
  4. Load your checkout in the staging environment with the test API keys active.
  5. Enter one row from the template into the payment form and submit it.
  6. Record the response code and the message your form shows the customer.
  7. Repeat for each row, changing one value at a time so you know which field caused the result.
  8. Delete the template file when testing ends and keep it out of your repository history.

What to verify

Check that a CVV mismatch produces a decline rather than a silent approval, that your form rejects a missing or malformed code before it reaches the gateway, and that no CVV value is written to your logs or database after authorization.

CVV Test Template Explanation

Where people get this wrong

The common mistake is mixing live credentials with test card values, which pushes a real authorization attempt through your processor. The other mistake is treating a template as a tool for card checking. Test templates only work against fake numbers issued by the gateway, and any list of real card data offered for sale is stolen property.


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