Card Test Cases: Structure Payment Test Coverage

Our Cards

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

giftcardimage

Where to Use?

Redeem your gift cards at any of our Merchants

Where to Buy?

You can purchase a gift card from any of these locations

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

The top pick for most teams is a data-driven test matrix built on processor sandbox test cards and run inside a test management tool. It wins on the criteria that matter for payment work: coverage of real authorization outcomes (approval, decline, referral, timeout), strict separation from production card data, reproducible runs after a processor change, and an audit trail a reviewer can follow. The rest of this guide breaks down what a card test case has to cover and how the main approaches compare.

What every card test case must cover

Card testing is not one scenario. A single checkout path hides a dozen variables, and a suite that only checks the happy path will pass while declines, retries, and partial refunds break in production. A complete matrix spans these dimensions:

Top pick: data-driven matrix on sandbox test cards

You define each case as a row of input data plus an expected response code, then let the runner feed those rows into the same code path the live system uses. Sandbox card numbers from your processor supply the outcomes you cannot force with real cards.

Pros

Cons

Use it when you ship payment code more than once a quarter, support multiple card brands or entry modes, or need evidence of negative testing for an audit or a processor review.

Spreadsheet-based matrix

Cases live in a shared sheet with columns for input, expected result, and owner, and a tester executes them by hand or with light scripting.

Pros

Cons

Use it when you are documenting a suite for the first time, or when a compliance reviewer needs a readable case inventory before automation exists.

API-level contract tests

These call the payment endpoint directly and assert on response fields, error codes, and state transitions, skipping the browser entirely.

Pros

Cons

Use it when your risk sits in server logic: retries, partial captures, refunds, and webhook handling.

Scripted manual checkout passes

A tester walks the full buyer journey with a small set of sandbox cards and confirms what the customer sees.

Pros

Cons

Use it when a release adds a new entry mode or a new authentication screen, and again before a major sales event.

Keeping the suite trustworthy

Choosing for your team

Start with the data-driven matrix if you have an engineering owner and a CI pipeline. Use the spreadsheet as the inventory that feeds it, not as the runner. Keep API contract tests for server-side invariants and reserve manual passes for new surfaces. The mix matters less than the rule underneath: every card test case should name its input, its expected outcome, and the risk it guards against.

Contact Us

Latest

Credit Card Testing: Merchant Guide

Credit card testing is a fraud pattern. Merchants can spot it through failed authorization attempts and reduce exposure with address verification, velocity limits, and monitoring.

Card Tester

Discover the perfect card tester for all your verification needs.

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