Skip to main content

3DS Test Cases

Overview

Once you have been provisioned for 3DS in the TokenEx Test environment, the following scenarios can be used to verify your implementation prior to being provisioned for 3DS in the TokenEx Production environment.

Device fingerprinting via the iFrame is optional.

Test Cards

Each test scenario is tightly coupled to a test card number. The card number for each scenario must be used to achieve the specified outcome. The scenario is met when the specified card number returns the specified transStatus.

Card Brands

All test cards are Mastercard and no other brands are available within the testing environment. Card brands supported in Production are Visa, Mastercard, Discover, Amex, JCB, and Cartes Bancaires.

Luhn Compliance

All test cards except for the co-branded card numbers are Luhn compliant. When testing co-branded scenarios, please choose a TokenEx token scheme that does not perform a Luhn check.

In order to tokenize a non-Luhn compliant card number using the TokenEx iFrame, add the following parameter to the configuration object when testing with the PCI or PCI w/CVV modes of the iFrame:

ParameterTypeDescription
enforceLuhnComplianceBooleanTrue or False. If omitted, defaults to true. Set to False to bypass luhn checks in PCI or PCI w/ CVV modes.

Verification

Your 3DS implementation in the TokenEx Test environment can be verified by requesting that TokenEx Technical Support enable debug logging on the applicable TokenEx ID(s). Once the additional logging is enabled by Technical Support, complete a full run of applicable 3DS test cases and document the corresponding reference numbers for each test scenario response. Provide the reference numbers to Technical Support for verification.

End to End testing of 3DS

There are a few different approaches to ensuring your implementation works as expected. Please see the Testing section of the 3DS FAQ.