Testing 3DS Flows

Updated on November 27, 2025

3D Secure authentication can follow different flows depending on the card issuer’s requirements. Use these test cards to verify each scenario works correctly on your site.

Understanding 3DS Flows

There are two primary 3DS flows, with optional fingerprinting in each:

Frictionless Flow

The issuing bank authenticates the cardholder silently without requiring any action from them. The payment completes seamlessly.

Test with: 4012000000020071 (Visa) or 5100270000000023 (Mastercard)

Challenge Flow

The issuing bank requires the cardholder to complete an authentication challenge. A popup or inline frame appears where the customer verifies their identity.

Test with: 4012000000020006 (Visa) or 5100270000000031 (Mastercard)

Enter password 3ds2 when prompted in the challenge window.

Fingerprinting

Some transactions include a fingerprinting step where the issuer collects device data before deciding on frictionless or challenge authentication. This happens invisibly to the customer.

Test with: 4012010000020070 (Visa frictionless + fingerprint) or 4012010000020005 (Visa challenge + fingerprint)

Testing Procedure

Test Frictionless Flow

  1. Add a product to cart and proceed to checkout
  2. Enter card number 4012000000020071
  3. Use any future expiry date and any CVV
  4. Complete the order
  5. Expected: Payment completes without any popup or challenge

Test Challenge Flow

  1. Add a product to cart and proceed to checkout
  2. Enter card number 4012000000020006
  3. Use any future expiry date and any CVV
  4. Complete the order
  5. Expected: A challenge window appears
  6. Enter password 3ds2
  7. Expected: Payment completes after authentication

Test 3DS Decline

  1. Add a product to cart and proceed to checkout
  2. Enter card number 4012000000020121
  3. Use any future expiry date and any CVV
  4. Complete the order
  5. Expected: Payment is declined with an authentication error

3DS Status Codes

StatusMeaningPayment Result
YFully authenticatedProceed with payment
AAttempted authenticationProceed with payment
NAuthentication failedPayment declined
UAuthentication unavailableMay proceed (issuer dependent)
RAuthentication rejectedPayment declined

Troubleshooting 3DS Tests

  • Challenge window doesn’t appear: Check that popups are not blocked by your browser
  • Challenge window is blank: Ensure your site is using HTTPS
  • Authentication fails: Verify you’re entering the password 3ds2 correctly
  • Unexpected behavior: Enable Debug Mode and check the logs

Next