3D Secure

Testinganchor

The Braintree sandbox allows end-to-end testing for each of the card brands supported in our 3DS integration. If you want to test in the production environment, see our guidelines on Testing in Production.

Below is a list of card numbers that can be used for testing 3DS in Sandbox:

note

It is recommended to disable ad blockers when using the test cards below. Some ad blockers have been found to prevent device data collection, resulting in an inadequate 3DS response.

important

For expiration year values for all test cards in the table below, use the current year + 3 years. The expiration month should always be 01.

note

If you call Transaction.sale() without performing a 3D Secure authentication, the issuing bank may return a soft decline indicating that the issuing bank will not proceed with the transaction without requiring the cardholder to authenticate. In this case, 2099 - Cardholder Authentication Required, or another soft decline code, will be returned. You can simulate this scenario by creating a test transaction in Sandbox with an amount of 2099.

Scenario Card brand specific test values
Successful No-Challenge Authentication
Cardholder enrolled, authentication successful, and signature verification successful.

status: authenticate_successful

Visa

  • 4000000000001000
  • 01/20**
MasterCard
  • 5200000000001005
  • 01/20**
American Express
  • 340000000001007
  • 01/20**
Discover
  • 6011000000001002
  • 01/20**
ELO
  • 6277800000002390
  • 01/20**

Failed No-Challenge Authentication
Cardholder enrolled, authentication unsuccessful. Merchants should prompt customers for another form of payment.

status: authenticate_frictionless_failed

Visa

  • 4000000000001018
  • 01/20**
MasterCard
  • 5200000000001013
  • 01/20**
American Express
  • 340000000001015
  • 01/20**
Discover
  • 6011000000001010
  • 01/20**
ELO
  • 6277800000002457
  • 01/20**

Attempt No-Challenge Authentication
The provided card brand authenticated this 3D Secure transaction without password confirmation from the customer.

status: authenticate_attempt_successful

Visa

  • 4000000000001026
  • 01/20**
MasterCard
  • 5200000000001021
  • 01/20**
American Express
  • 340000000001023
  • 01/20**
Discover
  • 6011000000001028
  • 01/20**
ELO
  • 6277800000002531
  • 01/20**

Unavailable No-Challenge Authentication from the Issuer
Authentication unavailable for this transaction.

status: authenticate_unable_to_authenticate

Visa

  • 4000000000001034
  • 01/20**
MasterCard
  • 5200000000001039
  • 01/20**
American Express
  • 340000000001031
  • 01/20**
Discover
  • 6011000000001036
  • 01/20**
ELO
  • 6277800000002309
  • 01/20**

Rejected No-Challenge Authentication by the Issuer
Authentication unsuccessful. Merchants should prompt customers for another form of payment.

status: authenticate_rejected

Visa

  • 4000000000001042
  • 01/20**
MasterCard
  • 5200000000001047
  • 01/20**
American Express
  • 340000000001049
  • 01/20**
Discover
  • 6011000000001044
  • 01/20**
ELO
  • 6277800000002044
  • 01/20**

Authentication Not Available on Lookup
Authentication unavailable for this transaction.

status: authentication_unavailable

Visa

  • 4000000000001059
  • 01/20**
MasterCard
  • 5200000000001054
  • 01/20**
American Express
  • 340000000001056
  • 01/20**
Discover
  • 6011000000001051
  • 01/20**
ELO
  • 6277800000002135
  • 01/20**

Error on Lookup
An error occurred while attempting to lookup enrollment.

status: lookup_error

Visa

  • 4000000000001067
  • 01/20**
MasterCard
  • 5200000000001062
  • 01/20**
American Express
  • 340000000001064
  • 01/20**
Discover
  • 6011000000001069
  • 01/20**
ELO
  • 6277800000002655
  • 01/20**

Timeout on Lookup
Attempting to lookup enrollment resulted in a timeout.

status: lookup_failed_acs_error

Visa

  • 4000000000001075
  • 01/20**
MasterCard
  • 5200000000001070
  • 01/20**
American Express
  • 340000000001072
  • 01/20**
Discover
  • 6011000000001077
  • 01/20**
ELO
  • 6277800000002820
  • 01/20**

Bypassed Authentication
Bypass used to simulate a scenario where merchant has elected to bypass the consumer authentication flow via CardinalCommerce Rules Engine configuration.

status: lookup_bypassed

Visa

  • 4000000000001083
  • 01/20**
MasterCard
  • 5200000000001088
  • 01/20**
American Express
  • 340000000001080
  • 01/20**
Discover
  • 6011000000001085
  • 01/20**
ELO
  • 6277800000002945
  • 01/20**

Successful Challenge Authentication
Cardholder enrolled, authentication successful, and signature verification successful.

status: authenticate_successful

Visa

  • 4000000000001091
  • 01/20**
MasterCard
  • 5200000000001096
  • 01/20**
American Express
  • 340000000001098
  • 01/20**
Discover
  • 6011000000001093
  • 01/20**
ELO
  • 6277800000002325
  • 01/20**

Failed Challenge Authentication
Cardholder enrolled, authentication unsuccessful. Merchants should prompt customers for another form of payment.

status: challenge_required

Visa

  • 4000000000001109
  • 01/20**
MasterCard
  • 5200000000001104
  • 01/20**
American Express
  • 340000000001106
  • 01/20**
Discover
  • 6011000000001101
  • 01/20**
ELO
  • 6277800000002127
  • 01/20**

Challenge Authentication is Unavailable
Authentication unavailable for this transaction.

status: challenge_required

Visa

  • 4000000000001117
  • 01/20**
MasterCard
  • 5200000000001112
  • 01/20**
American Express
  • 340000000001114
  • 01/20**
Discover
  • 6011000000001119
  • 01/20**
ELO
  • 6277800000002887
  • 01/20**

Error on Authentication
An error occurred while attempting to authenticate. Alternatively, merchants can ask customers for an alternative form of payment.

status: authenticate_error

Visa

  • 4000000000001125
  • 01/20**
MasterCard
  • 5200000000001120
  • 01/20**
American Express
  • 340000000001122
  • 01/20**
Discover
  • 6011000000001127
  • 01/20**
ELO
  • 6277800000002507
  • 01/20**

Data Only Successful
The data-only 3D Secure call was successfully created. The dataOnlyRequested flag must be sent to receive a successful response.

status: data_only_successful

MasterCard

  • 5119737947565580
  • 01/20**

Authentication Unsuccessful
Authentication unsuccessful. Merchants should prompt customers for another form of payment.

status: authenticate_rejected

Visa

  • 4000111111111115
  • 01/20**
American Express
  • 378734493671000
  • 01/20**

For more details on the test card numbers above, see the guide from CardinalCommerce, our 3DS authentication provider.