How to Test a Card on a Website: A Comprehensive Guide
Discover how to safely and effectively test a card on a website to ensure secure transactions and avoid potential fraud.
Redeem your gift cards at any of our Merchants
Onyx Gift Cards is a Grenadian company designed to introduce, market and manage gift cards systems in Grenada for retailers and corporations. We are enthusiastic about the effect and influence we will have on the local market. We intend to expand our systems regionally with a range of product offerings and services.
Gift cards are the preferred way of giving and receiving gifts. They carry a monetary value that can be redeemed for gifts at your favorite store.
Onyx GiftCards are “Open Gift Cards” which means that they can be redeemed at multiple merchant locations. They are standard credit card size, can fit into the average wallet and made of PVC plastic. Onyx GiftCards are Barcoded for security and safety for the consumer and bear a disclaimer at the back.
Onyx Giftcards can be bought with a branded Card backer which is black in colour and is designed to fit the card. There is an area to write a brief message to the recipient as well.
A test card is a payment card number that a payment processor publishes for use in its sandbox. It has the same format as a live card number and passes the same validation checks, but the processor routes it to a simulator instead of the card networks. No account is charged, no cardholder exists, and a production gateway will reject the number. Use it to build and verify checkout flows before you switch to live credentials.
Every major processor maintains a set of test cards in its developer documentation: Stripe, Adyen, PayPal and Braintree, Worldpay, and Checkout.com all publish them. Each set usually includes a general success number, several numbers that force a specific decline, and numbers that trigger a 3-D Secure challenge. The numbers are tied to a fixed expiry date and accept any CVC value. Some processors also accept any future expiry date you enter.
Because the numbers are public, they carry no value and no risk. They are documentation, not credentials. Treat them as fixtures that belong in your test suite next to your mock API responses.
A test card cannot verify a real card. It only exercises your integration. Running a small live charge to check whether a real card number works is card testing, a form of payment fraud. Processors score for it, and the usual outcome is blocked traffic, fines, and account termination. Card networks also prohibit testing live numbers without cardholder authorization, and in the United States such conduct falls under wire fraud statutes.
PCI DSS requires that live cardholder data stay out of test and development environments. Keep sandbox accounts free of real card numbers, real customer names, and real billing addresses. If you need realistic-looking data for screenshots or demos, generate synthetic values instead. Store test credentials in the same secret manager you use for live keys, so the separation between environments stays visible to everyone on the team.