Gift Cards

A CVV test under SCA runs in three steps: the merchant submits the card number, expiry, and CVV to the processor, the issuer checks the CVV against its records and reads the 3D Secure result, and the authorization returns an approval or a specific decline code. The CVV check and the SCA challenge are separate controls that travel inside one authorization message. A transaction can pass one and fail the other.

cvv test sca steps

What SCA requires and where CVV fits

Strong Customer Authentication is a PSD2 rule for electronic payments in the European Economic Area. It asks the customer to prove two of three things: knowledge (a PIN or password), possession (a phone or token), and inherence (a fingerprint or face scan). CVV is none of those.

read more

The CVV is a three or four digit code printed on the card, and it proves the buyer holds the physical plastic. That split matters for testing. A payment can clear SCA and still decline on CVV, and the reverse happens too, so build test cases for both paths.

cvv test sca tutorial

The CVV test SCA steps, in order

  1. Assemble the authorization request. Send the card number, expiry, CVV2 or CVC2, amount, currency, and the 3D Secure indicator.
  2. Start the 3D Secure challenge. The 3DS server passes the request to the issuer, which picks a frictionless flow or a challenge flow.
  3. Authenticate the cardholder. The customer confirms with an OTP, a banking app push, or a biometric check.
  4. Validate CVV at the issuer. The issuer compares the CVV to the value on file and flags any mismatch.
  5. Read the response code. You get an approval, a soft decline, or a hard decline, each with its own code.

Step 1: Assemble the authorization request

Sandbox traffic takes the same fields as live traffic, minus real card data. Test suites expect a test PAN, a future expiry, a CVV, a small amount, and the currency. Missing or malformed CVV fields often trigger a format error before the issuer ever sees the message.

Step 2: Start the 3D Secure challenge

The merchant sends device data and transaction context along with the authorization. The issuer scores that data and decides whether the customer skips authentication or faces a challenge. In sandbox mode, most processors let you force either outcome with a flag or a specific test card number.

Step 3: Authenticate the cardholder

Processors simulate the challenge with a test page that mimics an issuer screen. You enter a test password or click approve, and the flow returns an authentication value. That value ties the authentication to the amount, so changing the amount after authentication breaks the link.

Step 4: Validate CVV at the issuer

The issuer compares the CVV against the value it holds for that card. A mismatch in a live environment surfaces as a decline code such as N7, which maps to a CVV2 failure. Test environments usually return a fixed code you can assert against in your suite.

Step 5: Read the response code

The final message tells you which control failed. An approval means both the CVV check and the authentication passed. Anything else needs a look at the code, not a retry.

Which decline codes point to a CVV or SCA failure

  • N7 (CVV2 failure) - the CVV value does not match issuer records.
  • Authentication required - SCA is missing, so the issuer wants a 3DS challenge.
  • Soft decline - the payment can be retried after authentication or with another payment method.
  • 05 (do not honor) - a generic decline that hides the real reason, common in test banks.

Sandbox test cards versus live cards

Large processors publish test card numbers for each scenario, including 3DS success, 3DS failure, and CVV mismatch. Those numbers work only with sandbox API keys, and they return canned responses. A test CVV proves your integration handles each branch, and it proves nothing about a real account.

SCA exemptions worth testing

  • Low value - payments under 30 EUR can skip authentication, with a cap on consecutive uses.
  • Transaction risk analysis - the issuer accepts the risk when fraud rates stay low, with exemption thresholds set by regulators.
  • Merchant-initiated and recurring - the first payment authenticates, later charges reuse that consent.
  • Trusted beneficiary - the customer whitelists a merchant and skips the challenge.

Why live CVV data cannot be bought, sold, or stored

PCI DSS forbids storing CVV or CVC values after authorization, even in encrypted form. Buying or selling CVV data tied to real cards is card fraud under US federal law and state statutes. The only CVV values you can test with are sandbox test numbers or the ones a customer types at checkout.

FAQ

Does SCA replace the CVV check?

No. SCA confirms the person, and the CVV confirms the card. Issuers run both, and either one can fail on its own.

Can a payment pass SCA and still decline on CVV?

Yes. Mutual authentication and CVV validation are independent checks, so a wrong CVV still declines after a clean 3DS challenge.

Do US merchants need SCA?

Only for transactions where the issuer and the shopper sit in the European Economic Area. Domestic US card payments follow US rules and typically skip the 3DS challenge.

How long does an SCA challenge take?

The customer step runs in seconds when the issuer uses a banking app push, and longer when it falls back to SMS codes. Frictionless flows return with no customer action at all.


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