Gift Cards

A CVV test under PSD2 is a sandbox transaction that checks the card verification value field against published test card data instead of a real card. PSD2 requires strong customer authentication (SCA) for most live electronic payments in the EEA, but a sandbox test never reaches an issuer, so no authentication happens. Teams use CVV tests to confirm the checkout form, gateway rules, and decline handling before a live launch.

cvv test psd2 steps

What does a CVV test check?

A CVV test confirms three things: the form collects the 3 or 4 digit value, the gateway sends it in the right field, and the code maps the response to a clear message. It also catches format bugs, such as a 4-digit Amex CID being cut to 3 digits by a maxlength attribute.

cvv test psd2 information

What it does not do is prove that a real card works. Only a live authorization with SCA, or a zero-value account verification, does that.

cvv test psd2 steps

How do test CVVs differ from live CVVs?

Test CVVs come from gateway documentation and exist only in sandbox environments. Live CVVs are printed on the card and tie to the issuer's authorization system.

  • Test CVV: a value the sandbox accepts, often any 3 digits attached to standard Visa or Mastercard test numbers.
  • Live CVV: generated by the issuer, checked during authorization, and never stored after the payment (PCI DSS Requirement 3.2).
  • Scope: test values work in sandbox only. Sent to a live endpoint, they fail or trip a fraud rule.

How does PSD2 change CVV checks?

PSD2 does not add a new CVV rule. It adds an authentication layer around the payment, and the CVV becomes one factor inside that layer.

For an EEA card, a live charge needs SCA: something the customer knows (CVV, password), something they have (phone, card), or something they are (fingerprint, face). The CVV alone counts as one factor, not two.

Which PSD2 exemptions skip a new CVV challenge?

Some payments avoid a fresh SCA challenge, which means the CVV may not be requested again. Each exemption has limits set by the EBA and national regulators.

  • Low-value contactless payments under the contactless threshold, capped over a series of transactions.
  • Transaction risk analysis (TRA): the acquirer's fraud rate must stay below set limits.
  • Merchant-initiated transactions (MIT), such as subscriptions after the first SCA.
  • Trusted beneficiaries and corporate payment channels.

An exemption is a decision by the issuer, not by the checkout. Your integration should handle both the challenge and the no-challenge path.

How do you run a CVV test in a PSD2-aware sandbox?

  1. Pick a gateway sandbox that supports 3-D Secure 2 test profiles, such as Stripe, Adyen, or Braintree.
  2. Load the gateway's test card list and note the CVV behavior for each number.
  3. Build a case matrix: valid CVV, wrong CVV, missing CVV, 4-digit Amex CID, and a card that always declines.
  4. Run each case and record the response code, the customer message, and whether a 3DS challenge fired.
  5. Check the logs: the CVV must not appear in plain text, URLs, or analytics events.
  6. Repeat with SCA-required and exemption-simulated profiles if the sandbox offers them.

What should a CVV test matrix include?

  • Standard Visa and Mastercard test numbers with a valid CVV.
  • The same number with a wrong CVV, to confirm the decline message.
  • An Amex test number with a 4-digit CID.
  • A card that always declines, to test error paths.
  • A 3DS challenge card and a frictionless card.
  • A blank CVV field, to check client and server validation.

How is a CVV test different from a 3-D Secure test?

A CVV test checks a data field. A 3-D Secure test checks the authentication flow around the payment.

In a 3DS2 sandbox you simulate frictionless and challenge outcomes, then confirm the code handles the redirect, the completion call, and the ECI value. CVV checks run inside that flow as one input, so test them together rather than as separate projects.

Why does a CVV test fail on a live PSD2 charge?

Most failures come from the gap between sandbox behavior and live issuer rules.

  • SCA was required but the challenge did not run, so the issuer declines the charge.
  • The exemption was requested and rejected, and no fallback challenge was offered.
  • CVV mismatch: the customer typed a wrong digit, or a form bug dropped the field.
  • The card is not enrolled in 3-D Secure, or the issuer does not support the requested version.
  • AVS or postal code failure on a US or Canadian card triggers a decline rule.

Read the decline code before you retry. A soft decline ("authentication required") calls for a challenge, not a new CVV attempt.

Frequently asked questions

Is a CVV test legal?

Testing with gateway-issued test cards in a sandbox is legal and standard practice. Testing with a card you do not own, or with card data you lack written permission to use, is not.

Do test CVVs work in production?

No. Test card numbers and their CVVs are blocked at live endpoints or rejected by the issuer. A live charge needs real card data and, for EEA cards, SCA.

Does PSD2 apply to US merchants?

PSD2 applies when the issuer or acquirer sits in the EEA. A US merchant selling to EU customers often meets SCA through 3-D Secure 2 on those transactions. Domestic US card payments follow card network rules and state law, not PSD2.

What is a zero-value CVV test?

A zero-value or account verification authorization checks a card with no charge. Some issuers approve it, some decline it, and under PSD2 it can still need SCA. Treat it as a card check, not a full payment test.

Should a CVV ever be stored?

No. PCI DSS forbids storing the CVV, CVV2, or CVC after authorization, even encrypted. Gateway tokenization removes the need.


Fast digital delivery

You will receive the digital voucher immediately.

Secure Payment

All your data is transmitted with unbreakable SSL-RSA encryption.

Suitable for giving away

You can give away, resell or keep the vouchers.

24/7 customer support

We are available for you 24 hours a day.

ProtectedGiftCards.com Newsletter

Be informed as soon as new vouchers are added or when there are discounts.

Read our complete guide: Buy CVV in 2025: A Buyer's Guide to Prices, Pitfalls, and Avoiding Scams