Gift Cards

The short answer

Payment card testing happens in a sandbox, using fake card numbers your processor publishes for that purpose. It never requires live card data. If a seller or a site offers to sell you CVV numbers or full card details for testing, that is stolen data, and possessing or using it violates 18 U.S.C. 1029 in the United States. What you actually need to buy or set up is a test merchant account, test API keys, and a documented set of sandbox test numbers. Anything beyond that puts your processor contract and your legal standing at risk.

Top Payment Card Test Details Guide

What to look for in a test setup

  • Test card numbers issued by the processor for each card scheme you accept, including Visa, Mastercard, American Express, and Discover.
  • A separate test API key pair, kept apart from production credentials so a mistake cannot move real money.
  • Simulation triggers for declines, insufficient funds, expired cards, and processor timeouts.
  • 3D Secure test profiles that force a challenge, a frictionless pass, and an authentication failure.
  • Tokenization that swaps the card number for a token before storage.
  • Logging rules that keep the CVV and full PAN out of every application and server log.

Parameter bands to cover

Build a matrix instead of running one happy path. Cover these bands:

Payment Card Test Overview

  • Amounts: zero-dollar verification, one cent, typical retail, and above your highest tier.
  • Currencies: your settlement currency plus any currency you accept from foreign buyers.
  • Card state: valid, expired, blocked, and restricted.
  • Verification results: full address match, ZIP mismatch, and complete AVS failure.
  • Authentication: no 3D Secure, challenged and passed, challenged and abandoned.

Pitfalls to avoid

  1. Running test cards against a live endpoint. Test numbers fail in production, and a live key in a test script can create real charges.
  2. Storing the CVV after authorization. PCI DSS Requirement 3 forbids keeping sensitive authentication data once the transaction is complete.
  3. Copying card numbers from forums or chat groups. Those are compromised accounts, not test fixtures.
  4. Skipping refund and void tests. Reversals fail in different ways than sales and need their own cases.
  5. Forgetting webhook tests for duplicate events and out-of-order delivery.

FAQ

Can I use a real card in a sandbox?

No. Use the test numbers your processor publishes. Real numbers in a test environment serve no purpose and create a data handling problem.

payment card test steps

Is it legal to buy CVV data?

No. Buying, selling, or possessing card verification values tied to accounts you do not own is a federal offense. Legitimate testing never involves purchased card data.

How often should the test suite run?

Run it on every release, on every processor or gateway version change, and after any change to your checkout, fraud rules, or 3D Secure configuration.

Do test cards behave like live cards?

They match the response format and the decline codes, but issuer behavior, risk scoring, and network latency differ. Treat sandbox results as a floor, not a guarantee.


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