Your cart is empty
Shop now
+

Card Test Transaction: Sandbox and Live Testing Guide

Explore

Card Test Transaction: Sandbox and Live Testing Guide

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

Card Test Transaction: Sandbox and Live Testing Guide

A card test transaction is an authorization run against test card data in a payment gateway sandbox, used to confirm that your integration handles approvals, declines, CVV and AVS responses, refunds, and webhooks before real customers reach the flow. The sections below cover what a test transaction proves, where sandbox testing stops being useful, and which testing method fits each stage of a build.

What a card test transaction proves

A test transaction travels the same logical path as a real payment: the gateway builds an authorization request, a simulator or test issuer returns a response code, and your application records and acts on the result. Because the responses are scripted, you can trigger a specific outcome on demand, including an insufficient funds decline, a CVV mismatch, an AVS mismatch, an expired card response, or a gateway timeout.

In practice, a test run confirms these behaviors:

  • Your code reads the response code and routes the order to the right state.
  • Decline messages map to customer-facing copy that does not leak internal codes.
  • Authorization, capture, void, and refund calls stay in the correct order.
  • Idempotency keys prevent a retry from creating a second charge.
  • Webhook handlers accept duplicate events without writing duplicate records.

What it does not confirm: production acquirer configuration, settlement files, interchange, issuer-specific decline codes, and network-level latency.

Sandbox test mode versus a live authorization hold

Most teams use two methods, and each covers a different risk.

Sandbox test mode

  • Pros: no real money moves, responses are deterministic, runs are repeatable, and 3-D Secure challenge flows can be simulated.
  • Cons: the acquirer and card network are not involved, no fees or interchange appear, settlement is not exercised, and some issuer decline codes never surface.

Live authorization with an immediate void

  • Pros: exercises the real endpoint, the real acquirer, and the real network path, including response timing and fraud screening.
  • Cons: requires a cardholder who consents, places a real hold on funds, needs a void or reversal right after, may carry a per-transaction fee, and puts cardholder data in scope for PCI DSS.

Test card numbers, CVV values, and 3-D Secure

Processors publish fixed test card numbers with matching expiry dates and CVV values. The CVV field in test mode is simulated rather than verified against an issuer, so a specific test value triggers the mismatch decline you want to see. The same applies to AVS: a test billing address returns the match, partial match, or no-match response you select. For authenticated flows, you pick a test profile that forces a challenge, a frictionless pass, or an authentication failure, which lets you verify that your order does not ship on an unauthenticated attempt.

Failure modes that show up during test runs

  1. Hardcoded test keys ship to production because the environment variable was never swapped.
  2. Decline handling treats every response as a retryable error, which produces duplicate attempts.
  3. CVV and AVS results are logged in full, putting sensitive authentication data in your logs.
  4. Refunds are tested against an authorization that was never captured, so the path differs from production.
  5. Webhook signature verification is disabled in test and never re-enabled.

Which method to use

Run sandbox test transactions for every code change, since they are free, repeatable, and safe to automate. Add one live authorization with an immediate void before each production release, using a card you control or a cardholder who has agreed in writing, and keep that run manual and documented. Do not use a live test to explore decline behavior. That work belongs in the sandbox, where you can reproduce the exact response instead of guessing at it.

Handling cardholder data

PCI DSS applies to every environment where cardholder data is stored, processed, or transmitted, including staging systems. Test data should never contain a real primary account number, and test credentials should never be reused from a live account. If your sandbox needs realistic input, generate card numbers that pass the Luhn check in a reserved test range rather than copying a production record. That single habit keeps your test environment out of scope for most of the requirements you would otherwise have to evidence during an assessment.

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