CVV Test Validation Text: Sandbox Values and Format Rules

Our Cards

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

cvv validation message example

giftcardimage

Where to Use?

Redeem your gift cards at any of our Merchants

read more

Where to Buy?

You can purchase a gift card from any of these locations

read more

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

CVV test validation text is the string a developer types into a security code field while testing a payment form. In a sandbox it can be almost anything, usually 123, because the test gateway accepts any three digits. On a live gateway there is no test value at all. The code either matches what the issuer has on file or the authorization comes back with a CVC failure. That gap is where most of the confusion starts.

If you are looking for a number to paste in so a real card will pass, that is a different thing and it does not exist. Processors do not publish codes that make live cards work. The only strings worth memorizing are the sandbox ones your payment provider documents.

Sandbox values are the only test values that exist

Every major processor ships a set of test card numbers. The classic one is 4242 4242 4242 4242 with any future expiry and any three digits in the security code field. Providers also publish cards that deliberately fail the CVC check, which is how you test your error states. Look up the exact list for your provider rather than guessing, since the numbers differ between Stripe, Adyen, Braintree and the rest.

Two habits save time. Run the failing-CVC card before the happy path, because error handling is where forms break. And test with the same key mode you will ship. A test code on a live key will fail, and a live card on a test key gets rejected before the code is even read.

Format rules that actually run in the browser

Client-side validation for the security code is short. There is no checksum to compute. Luhn applies to the primary account number, not to the three or four digits printed separately.

Format validation is not issuer validation

A regex checks that the field looks like a code. The issuing bank checks that it matches the card. Only the bank can do the second one, and it happens during authorization, after your form is submitted. That is why no script can confirm a security code in advance, and why any service claiming to verify one for you is either guessing or making it up.

What to log, and what never to log

PCI DSS treats the card verification code as sensitive authentication data. You may pass it to your processor, and then you must not store it. Not encrypted, not for a few minutes, not in a debug log. Store the authorization response instead: approved, declined, CVC mismatch, address mismatch. Those codes are what your support team needs and they carry no card data.

If your test plan includes writing the code to a log so you can check it later, drop that step. It shows up as a finding in every audit and turns a routine test environment into a liability.

Common mistakes with test strings

What real gateways do with repeated failures

Processors track authorization attempts per card and per merchant. A run of CVC mismatches on the same card range gets flagged, and an acquirer can freeze the account while it reviews. That is the opposite of what people feeding random codes into a live form expect to happen. If you are building the checkout side, treat a mismatch as a normal decline, let the customer retry once, then send them to support instead of inviting more attempts.

Contact Us

Latest

Latest

card testing logs analysis

Defensive review of payment logs to detect card-testing patterns, prioritize alerts, and reduce chargeback risk for ecommerce merchants.

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