Payment Link Card Test: How to Test Payment Links With Test Cards

Our Cards

Choose from any of our gift cards to give to your loved ones

card testing link

giftcardimage

Where to Use?

Redeem your gift cards at any of our Merchants

more on this topic

Where to Buy?

You can purchase a gift card from any of these locations

test card checkout link

ABOUT US

about

What is ONYX GiftCards?

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.

What is a Gift Card?

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.

How it Works?

  • Buy an Onyx Gift Card at these local stores
  • Give your gift card to friends, family, co-workers, etc.
  • The recipient can shop at our select merchants nationwide
  • Your friends, family, co-workers, etc. will present their gift card at checkout to pay for your item(s)
  • They will walk away happy with the best gift ever...the gift of Choice

Why ONYX GiftCards?

  • Save TIME. No need to run around looking for the perfect gift
  • Redeem from a variety of business island-wide. We will continue adding businesses as fast as ONYX grows.
  • ONYX Gift Cards do not expire
  • Cards are valued at convinient amounts to meet every need and occasion

A payment link card test runs a checkout page with a sandbox card number instead of a real card. Processors such as Stripe, Adyen, Square, and Braintree publish fixed test numbers that trigger an approval, a decline, or a 3D Secure challenge on demand. No money moves, and no real card data enters your system.

What happens during a payment link card test?

A payment link is a hosted checkout page with a set price and no shopping cart. During a test, a sandbox number replaces the shopper's card, and the processor routes the request to its test environment. Your server sees the same webhook events that a live payment would send.

Why test a payment link instead of a full checkout?

A payment link skips your own front end. That narrows the test to three parts: the link setup, the processor, and your webhook handler. When a real order fails, those three parts are the first places to check.

Links also cover paths your checkout page cannot reach. A link inside an email, a QR code on a printed invoice, or a page opened in the Instagram in-app browser all run through the same hosted flow.

How do you run a payment link card test?

  1. Switch your API keys from live to test mode in the processor dashboard.
  2. Create a payment link in test mode for a small amount, such as 1.00 USD.
  3. Open the link in a private window so no saved card autofills the form.
  4. Enter the test number, a future expiry date, and a three-digit CVC.
  5. Finish the 3D Secure step if the number you chose forces one.
  6. Check the result in the dashboard, then in your webhook log.

Run the flow again with a decline number, an expired number, and a number that fails the CVC check. Each run should show a different message to the shopper and a different event to your server.

Which test card numbers should you use?

Each processor publishes its own list, and the numbers do not match between providers. Stripe documents 4242 4242 4242 4242 as a generic success card and 4000 0000 0000 0002 as a generic decline. Adyen, PayPal, and Square list their own sets in their developer docs.

Use the list from the processor that runs your links. A number that passes on one gateway can fail on another, so copy the number from the docs of the provider you use.

What can go wrong during testing?

The most common mistake is testing with a real card number, including your own. A live number creates a real authorization, and the refund takes days to settle. Test numbers cover the same paths with no money at risk.

Logging is the second trap. Storing a full card number or a security code puts you outside PCI DSS rules, even in a sandbox. PCI DSS forbids keeping the CVC after authorization, so scrub it from your logs and your database.

A third problem is a shared webhook endpoint. If test links and live links post to the same URL, test events land in the same queue as real orders. Split the endpoints or filter events on the livemode flag.

How do you confirm the test passed?

How does a payment link test differ from a card validation check?

A card validation check asks whether a card is open, often with a zero-dollar or one-dollar authorization. A payment link test asks a wider question: does your checkout flow, webhook handler, and receipt path behave as expected. The two checks use different tools and answer different questions.

Frequently asked questions

Can I test a payment link with a real card and then refund it?

You can, and some teams do this before a launch. It works for a small amount, but the refund takes days and the test is hard to repeat. Test numbers cover the same paths with no money at risk.

Do payment links support 3D Secure testing?

Yes. Most processors let a test number force an authentication challenge, an authentication failure, or an attempt that the bank skips. Test all three, since each one returns the shopper to a different page.

How often should I re-run the test?

Re-run it after any change to your webhook handler, your return URL, or your prices. The link itself is static, but the code around it changes with every deploy.

Do test cards work on mobile payment links?

They do, in test mode. Check the Apple Pay and Google Pay sheets in a sandbox build, since those flows skip the card form and can hide a broken return URL.

Key takeaways

Contact Us

Latest

Latest

Buy CVV: A Comprehensive Buying Guide

Discover the ins and outs of purchasing CVVs with our expert buying guide. Learn the essentials, avoid common pitfalls, and get answers to frequently asked questions.

Buying Guide: Exchange CVV Dumps for Cash

Discover the ins and outs of exchanging CVV dumps for cash, including essential tips, what to look for, pitfalls to avoid, and a FAQ section to help you navigate this complex market safely.

Read our complete guide: Should You Buy CVV From a Card Shop? The Honest Buyer's Guide