CVV Test Validation Response Guide
Learn about CVV test validation response and how to interpret it when buying CVV.
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 CVV test validation message is the response a payment processor sends when the security code on a card does not match the code the issuer holds on file. In sandbox mode, gateways return the same set of messages on demand, so developers can trigger each result without using a live card. The message is a code, not a sentence, and the gateway turns that code into the wording a shopper sees at checkout.
Processors use a short list of result codes for card security codes. The labels differ between gateways, but the meaning stays the same.
Only M is a pass. N is a fail. P, S, U, and X mean the result is unknown, and most gateways treat them as neither a pass nor a fail.
A CVV result rides along with the authorization response, but it is not the authorization itself. A gateway can return M for the security code and still decline the charge for insufficient funds. Read the two fields as separate answers before you write logic that acts on them.
Most gateways expose the CVV result in a field such as cvv_result or card_security_code_check. Your decline handler should read that field, not the human readable text, since support teams edit the text over time.
Testing the check protects revenue and keeps checkout working.
Every major gateway publishes test card numbers that map to specific responses. Use those, and nothing else.
Never run these tests with a real card number, including your own. Live card data in a test environment breaks PCI rules and can get a merchant account frozen. Testing cards you do not own, or running codes against other people's accounts, is fraud.
The issuer sets the rules, and they are narrower than most people assume.
A match does not prove the card is valid or that the buyer is allowed to use it. A fraudster can pass a CVV check with a stolen card and still trigger a chargeback weeks later. Treat the code result as one signal among address verification, 3D Secure, and your own order review.
Codes P, U, and X are not declines. They mean the check did not happen. Deciding to approve on an unknown result is a risk call, not a technical one.
It means the three or four digit code entered does not match the issuer record for that card number. That attempt is refused.
They are the same check under different brand names. CVV2 is Visa's term, CVC is Mastercard's, and CID is American Express's. All three refer to the digits printed on the card, not the data on the magnetic stripe.
Yes. An issuer that does not run the check returns P or U, and a gateway may map that to a generic answer. Test each code in your own sandbox to see how your provider reports an unknown result.
No. PCI DSS forbids storing the code after authorization in any form. Send it to the processor and drop it.
Testing CVV validation comes down to a form check and a log check. Keep the data fake, read the response code, and match the shopper message to it.