On This Page
Test Cases for 3-D Secure 2.x
3-D Secure
2.xUse the card number specified in the test with the card expiration date set to the month
of January and the current year plus three. For example, for 2025, use 2028. You also
need the minimum required fields for an order.
Be sure to remove spaces in card numbers when testing.
IMPORTANT
The test card numbers that are provided are formatted with Xs for
zeroes in the card number. When testing with the card numbers, replace the Xs with a
0 (zero).
While the usage of transaction ID (XID) values have declined in importance, they are
still included in
3-D Secure
2.x test cases. Only Mastercard transactions
do not return XIDs. While the
3-D Secure
version and directory server transaction ID fields are
returned for the Check Enrollment and Validate Authentication services, this data is not
included in the 3-D Secure
2.x test cases. IMPORTANT
Mastercard requires that the
3-D Secure
version and
directory server transaction ID be included along with all pertinent data in your
authorization request.Card Specific Setup
The cards listed below require a specific merchant attribute or configuration during
testing.
- eftpos: The merchant should request that customer support enable the preferred secondary brand attribute to enable the prerferred routing for eftpos.
- mada: The merchant descriptor country should be set asSAand the card type should be set asmada.
- Meeza: The merchant descriptor country should be set asEGand the card type should be set asMeeza