3D Secure

Testing

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.


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

status: authenticate_successful
Visa
  • 4000000000002701
MasterCard
  • 5200000000002235
American Express
  • 340000000002708
Discover
  • 6011000000002117
ELO
  • 6505290000002000
Failed No-Challenge Authentication
Cardholder enrolled, authentication unsuccessful. Merchants should prompt customers for another form of payment.

status: authenticate_frictionless_failed
Visa
  • 4000000000002925
MasterCard
  • 5200000000002276
American Express
  • 340000000002096
Discover
  • 6011000000002364
ELO
  • 6277800000002457
Attempt No-Challenge Authentication
The provided card brand authenticated this 3D Secure transaction without password confirmation from the customer.

status: authenticate_attempt_successful
Visa
  • 4000000000002719
MasterCard
  • 5200000000002482
American Express
  • 340000000002872
Discover
  • 6011000000002646
ELO
  • 6505290000002026
Unavailable No-Challenge Authentication from the Issuer
Authentication unavailable for this transaction.

status: authenticate_unable_to_authenticate
Visa
  • 4000000000002313
MasterCard
  • 5200000000002268
American Express
  • 340000000002922
Discover
  • 6011000000002612
ELO
  • 6505290000002034
Rejected No-Challenge Authentication by the Issuer
Authentication unsuccessful. Merchants should prompt customers for another form of payment.

status: authenticate_rejected
Visa
  • 4000000000002537
MasterCard
  • 5200000000002185
American Express
  • 340000000002062
Discover
  • 6011000000002711
ELO
  • 6505290000002083
Authentication Not Available on Lookup
Authentication unavailable for this transaction.

status: authentication_unavailable
Visa
  • 4000000000002990
MasterCard
  • 5200000000002409
American Express
  • 340000000002468
Discover
  • 6011000000002836
ELO
  • 6505290000002091
Error on Lookup
An error occurred while attempting to lookup enrollment.

status: lookup_error
Visa
  • 4000000000002446
MasterCard
  • 5200000000002037
American Express
  • 340000000002732
Discover
  • 6011000000002315
ELO
  • 6505290000002109
Timeout on Lookup
Attempting to lookup enrollment resulted in a timeout.

status: lookup_failed_acs_error
Visa
  • 4000000000002354
MasterCard
  • 5200000000002326
American Express
  • 340000000002047
Discover
  • 6011000000002869
ELO
  • 6505290000002125
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
  • 4000000000002560
MasterCard
  • 5200000000002508
American Express
  • 340000000002948
Discover
  • 6011000000002976
ELO
  • 6505290000002166
Successful Challenge Authentication
Cardholder enrolled, authentication successful, and signature verification successful.

status: authenticate_successful
Visa
  • 4000000000002503
MasterCard
  • 5200000000002151
American Express
  • 340000000002534
Discover
  • 6011000000002265
ELO
  • 6505290000002190
Failed Challenge Authentication
Cardholder enrolled, authentication unsuccessful. Merchants should prompt customers for another form of payment.

status: challenge_required
Visa
  • 4000000000002370
MasterCard
  • 5200000000002490
American Express
  • 340000000002237
Discover
  • 6011000000002695
ELO
  • 6505290000002208
Challenge Authentication is Unavailable
Authentication unavailable for this transaction.

status: challenge_required
Visa
  • 4000000000002420
MasterCard
  • 5200000000002664
American Express
  • 340000000002484
Discover
  • 6011000000002851
ELO
  • 6505290000002257
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
  • 4000000000002644
MasterCard
  • 5200000000002656
American Express
  • 340000000002351
Discover
  • 6011000000002570
ELO
  • 6505290000002265
Data Only Successful
The data-only 3D Secure call was successfully created. The dataOnlyRequestedflag must be sent to receive a successful response.

status: data_only_successful
MasterCard
  • 5119737947565580
Authentication Unsuccessful
Authentication unsuccessful. Merchants should prompt customers for another form of payment.

status: authenticate_rejected
Visa
  • 4000000000002370
American Express
  • 340000000002237

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