Payment Link Card Test: How to Test a Payment Link Safely
Run a payment link card test in sandbox mode with published test numbers, check amounts, redirects and webhooks, and block card testing 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 Stripe card test link is a Stripe-hosted payment page — a Payment Link or Checkout session — opened in test mode, where you enter Stripe's published test card numbers instead of real card details. No money moves, no real card is charged, and the transaction appears only in your test-mode dashboard. The purpose is to verify that your checkout, declines, 3D Secure step, and webhooks behave correctly before you switch to live keys.
Stripe does not have a separate product called a “test link.” Instead, the same Payment Links and Checkout features exist in two parallel environments: test mode and live mode. Anything you create while the dashboard is in test mode stays in test mode. Stripe's documentation describes test mode as a sandbox where API calls, payment pages, and events are simulated and kept separate from real customer data.
Because test-mode links use test API keys, a real card number entered on one will be rejected. That separation is the point.
Stripe publishes a fixed set of card numbers for testing. Use any future expiration date, any three-digit CVC, and any postal code unless the specific test case says otherwise.
4242 4242 4242 4242 — Visa, succeeds without authentication.4000 0025 0000 3155 — requires 3D Secure authentication.4000 0000 0000 0002 — generic decline.4000 0000 0000 9995 — declined for insufficient funds.4000 0000 0000 0069 — declined as expired card.4000 0000 0000 0127 — declined for incorrect CVC.Always confirm the current list in Stripe's testing documentation, since numbers are occasionally added or retired.
The most frequent error is testing with live API keys, which produces real charges and real disputes. A second mistake is entering actual customer card numbers into a test form: test mode does not store them, but handling real card data outside a compliant environment still violates PCI DSS rules. A third is assuming a test-mode payment will appear in payouts or reports — it will not, because no funds are captured.
Keep test and live credentials in separate configuration files, restrict who can flip the dashboard toggle, and delete test-mode products before launch so your catalog stays clean.
Test card numbers are public fixtures published by Stripe and are safe to share in documentation and code samples. Real card numbers, CVVs, and full track data are not. Any flow that touches genuine cardholder data belongs inside a PCI DSS–compliant scope, and test links should never be repurposed to collect them.