Your cart is empty
Shop now
+

Test Expiry Card: Sandbox Numbers for Expiry Testing

Explore

Test Expiry Card: Sandbox Numbers for Expiry Testing

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

Test Expiry Card: Sandbox Numbers for Expiry Testing

Stripe's documented test card suite is the top pick for most teams testing expiration dates, because it pairs fixed card numbers with known future expiry dates, matching CVC values, and predictable decline responses. The criteria that matter are narrow. The number has to pass a Luhn check so your formatter and validator behave the way they do in production. The expiry date has to sit far enough in the future that it will not quietly age out of your test suite. The provider has to document how it treats a past date, the current month, and a far-future date. And none of the values can come from a real account. Everything below compares the realistic options against those four points.

card expiry date test

What a test expiry card actually is

A test expiry card is a card number and expiration date issued by a payment processor for use in its sandbox. The number is not tied to a bank account, it will never authorize a real charge, and it exists so developers can exercise the code path that reads the expiration field. When you type an expired month and year into a sandbox checkout, the processor returns the same class of error a live gateway would return. That is what lets you verify your error handling, your retry logic, and the copy you show a customer.

related article

Two different things get confused here. The first is client-side date validation, where your own form checks whether the entered month and year are in the past. The second is server-side authorization, where the processor or issuer decides whether to decline. A test expiry card only helps with the second. You still need your own fixtures for the first.

related article

Criteria for choosing a test card source

  • Luhn validity. Test numbers should pass the check digit algorithm so your code path matches production input.
  • Documented expiry behavior. The source should state what happens with a past date, a current-month date, and a far-future date.
  • Stable dates. Numbers with expiry dates a year or more out beat ones pinned to a date that has already passed.
  • Decline coverage. You want values that return expired card, incorrect CVC, and generic decline so you can assert on each case.
  • No real card data. Nothing in the set should be a live account, and nothing should be stored after authorization.

Option 1: Processor sandbox test cards

Stripe, Adyen, Braintree, and most large gateways publish test card numbers directly in their developer documentation. Each number arrives with a fixed expiry, a CVC, and a note about which error it triggers.

read more

  • Pros: Dates are already set, decline behavior is documented, and the numbers work in the provider's own sandbox with no setup.
  • Cons: Coverage varies by provider, some older example dates have expired, and you cannot invent new ones without leaving the documented set.

Use case: You are integrating one gateway and want to confirm that an expired card produces the error your UI expects. Start here before writing anything yourself.

Option 2: Generated Luhn-valid test numbers

You can compute a check digit for a made-up prefix and produce a number that passes validation, then pair it with any expiry date you like. A generator that follows the Luhn formula in ISO/IEC 7812-1 makes this repeatable.

  • Pros: You control the expiry, so you can test a date that passed last month, a date in the current month, and a date ten years out.
  • Cons: A gateway will not recognize the number and may reject it before it ever reaches expiry logic, so the test proves your code and not theirs.

Use case: Unit tests and form validation. If you need to assert that February of last year is rejected, a generated number with a controlled date is the cleanest fixture.

Option 3: Fixtures inside your own test suite

Store a small table of numbers, expiries, and expected outcomes in your repository and drive both unit and integration tests from it. Keep the table labeled as sandbox data so nobody mistakes it for a real account.

  • Pros: Deterministic, versioned with your code, and easy to extend when you add a new gateway.
  • Cons: You own the maintenance, and a hardcoded date eventually goes stale if nobody reviews it.

Use case: Teams running CI against more than one processor. One fixture table feeding several integration suites keeps behavior comparable across gateways.

Why the expired case deserves its own test

An expired card is not the same failure as a declined card. The expiration check can happen in your form, in the gateway's pre-authorization step, or at the issuer, and the message a customer sees changes depending on where it stops. Test all three: a date your form rejects before submission, a date the sandbox rejects, and a valid date that the sandbox declines for an unrelated reason. Log the raw response code each time so you can tell the paths apart later.

What you should never do

Never test with a real card number, even your own. The PCI Security Standards Council is explicit that sensitive authentication data, which includes the CVV, must not be stored after authorization. Buying, selling, or trading real card numbers is a federal crime in the United States, and a sandbox that accepts a real number is a sign that something is wired wrong. Processor-issued test data exists precisely so you never need to touch a live account.

What's New

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