3D Secure test scenarios

DocsCurrentADVANCED

Last updated: Oct 29th, 12:41pm

Test cases and card details for purchase flows

The PayPal sandbox supports end-to-end testing for purchase flows using payment methods issued by Visa, Mastercard, American Express, Discover, Diners, and other card brands.

Use the test cards in the following table to:

  1. Simulate a purchase.
  2. Generate a 3D Secure response.

The test cards in this section only work for purchase flows. Don’t use the cards in this section to test Save payment methods. See Test cases and card details for Save payment methods.

Find test cases and card details for the following countries:

  • United States
  • Great Britain
  • China
  • Australia
  • France
  • Germany
  • Italy
  • Japan
  • Mexico
  • Spain
Scenario Test cards API response
Test Case 1: Successful Frictionless Authentication

Visa: 4868719196829038

Mastercard: 5329879707824603

Discover: 6507720016523241

JCB: 3636500013811265

Diners: 3613285017849035

CUP: 6011270016527338

"authentication_result": { "liability_shift": "POSSIBLE","enrollment_status": "Y","authentication_status": "Y" }
Test Case 2: Failed Frictionless Authentication

Visa: 4868719158130060

Mastercard: 5329879769571910

Discover: 6507720026574622

JCB: 3636500029449373

Diners: 3613285026969303

CUP: 6011270026518392

"authentication_result": { "liability_shift": "NO","enrollment_status": "Y","authentication_status": "N" }
Test Case 3: Attempts Stand-In Frictionless Authentication

Visa: 4868719581920723

Mastercard: 5329879715396727

Discover: 6507720036528600

JCB: 3636500036026768

Diners: 3613285032453102

CUP: 6011270036572314

"authentication_result": { "liability_shift": "POSSIBLE","enrollment_status": "Y","authentication_status": "A" }
Test Case 4: Unavailable Frictionless Authentication

Visa: 4868719033482561

Mastercard: 5329879705777613

Discover: 6507720046586499

JCB: 3636500042364807

Diners: 3613285046621520

CUP: 6011270046547272

"authentication_result": { "liability_shift": "NO","enrollment_status": "Y","authentication_status": "U" }
Test Case 5: Rejected Frictionless Authentication

Visa: 4868719081564153

Mastercard: 5319541865518409

Discover: 6507720056587320

JCB: 3636500056727543

Diners: 3613285054207154

CUP: 6011270056539078

"authentication_result": { "liability_shift": "NO","enrollment_status": "Y","authentication_status": "R" }
Test Case 6: Authentication Not Available on Lookup

Visa: 4868719488651967

Mastercard: 5329879714462553

Discover: 6507720066510627

JCB: 3636500063958628

Diners: 3613285065837494

CUP: 6011270066581029

"authentication_result": { "liability_shift": "NO","enrollment_status": "U" }
Test Case 7: Successful Step-up Authentication

Visa: 4868719166101368

Mastercard: 5329879735316929

Discover: 6507720106578071

JCB: 3636500107547155

Diners: 3613285107233215

CUP: 6011270106573127

"authentication_result": { "liability_shift": "POSSIBLE","enrollment_status": "Y","authentication_status": "Y" }
Test Case 8: Failed Step-Up Authentication

Visa: 4868719181895556

Mastercard: 5329879768013724

Discover: 6507720116568591

JCB: 3636500118802441

Diners: 3613285118398817

CUP: 6011270116539514

"authentication_result": { "liability_shift": "NO","enrollment_status": "Y","authentication_status": "N" }
Test Case 9: Step-Up Authentication is Unavailable

Visa: 4868719557718580

Mastercard: 5329879734808405

Discover: 6507720126556792

JCB: 3636500129164682

Diners: 3613285124482902

CUP: 6011270126552846

"authentication_result": { "liability_shift": "NO","enrollment_status": "Y","authentication_status": "U" }
Scenario Test cards API response
Test Case 1: Successful Frictionless Authentication

Visa: 4779131010696190

Mastercard: 5232747082012365

"authentication_result": { "liability_shift": "POSSIBLE","enrollment_status": "Y","authentication_status": "Y" }
Test Case 2: Failed Frictionless Authentication

Visa: 4779131029887282

Mastercard: 5232747082026340

"authentication_result": { "liability_shift": "NO","enrollment_status": "Y","authentication_status": "N" }
Test Case 3: Attempts Stand-In Frictionless Authentication

Visa: 4779131034444012

Mastercard: 5232747082037925

"authentication_result": { "liability_shift": "POSSIBLE","enrollment_status": "Y","authentication_status": "A" }
Test Case 4: Unavailable Frictionless Authentication

Visa: 4779131043637366

Mastercard: 5232747082040184

"authentication_result": { "liability_shift": "NO","enrollment_status": "Y","authentication_status": "U" }
Test Case 5: Rejected Frictionless Authentication

Visa: 4779131051776981

Mastercard: 5232747082050118

"authentication_result": { "liability_shift": "NO","enrollment_status": "Y","authentication_status": "R" }
Test Case 6: Authentication Not Available on Lookup

Visa: 4779131067504989

Mastercard: 5232747082060125

"authentication_result": { "liability_shift": "NO","enrollment_status": "U" }
Test Case 7: Successful Step-up Authentication

Visa: 4779131109317713

Mastercard: 5232747082106928

"authentication_result": { "liability_shift": "POSSIBLE","enrollment_status": "Y","authentication_status": "Y" }
Test Case 8: Failed Step-Up Authentication

Visa: 4779131113498285

Mastercard: 5232747082118238

"authentication_result": { "liability_shift": "NO","enrollment_status": "Y","authentication_status": "N" }
Test Case 9: Step-Up Authentication is Unavailable

Visa: 4779131126041981

Mastercard: 5232747082125225

"authentication_result": { "liability_shift": "NO","enrollment_status": "Y","authentication_status": "U" }

Test cases and card details for Save payment methods

The PayPal sandbox supports end-to-end testing for saving payment methods issued by Visa, Mastercard, American Express, Discover, and ELO.

Use the test cards in the following table to:

  1. Simulate saving a payment method during purchase or for purchase later.
  2. Generate a 3D Secure response.

The test cards in this section only work for the Payment Method Tokens v3 API. Don’t use the cards in this section to test purchase flows. See Test cases and card details for purchase flows.

Scenario Test cards API response
Test Case 1: Successful No-Challenge Authentication
Cardholder enrolled, authentication successful, and signature verification successful.
Visa
  • 4000000000002701
  • 01/20**
MasterCard
  • 5200000000002235
  • 01/20**
American Express
  • 340000000002708
  • 01/20**
Discover
  • 6011000000002117
  • 01/20**
ELO
  • 6505290000002000
  • 01/20**
authenticate_successful
Test Case 2: Failed No-Challenge Authentication
Cardholder enrolled, authentication unsuccessful. Merchants should prompt customers for another form of payment.
Visa
  • 4000000000002925
  • 01/20**
MasterCard
  • 5200000000002276
  • 01/20**
American Express
  • 340000000002096
  • 01/20**
Discover
  • 6011000000002364
  • 01/20**
ELO
  • 6277800000002457
  • 01/20**
authenticate_frictionless_failed
Test Case 3: Attempt No-Challenge Authentication
The provided card brand authenticated this 3D Secure transaction without password confirmation from the customer.
Visa
  • 4000000000002719
  • 01/20**
MasterCard
  • 5200000000002482
  • 01/20**
American Express
  • 340000000002872
  • 01/20**
Discover
  • 6011000000002646
  • 01/20**
ELO
  • 6505290000002026
  • 01/20**
authenticate_attempt_successful
Test Case 4: Unavailable No-Challenge Authentication from the Issuer
Authentication unavailable for this transaction.
Visa
  • 4000000000002313
  • 01/20**
MasterCard
  • 5200000000002268
  • 01/20**
American Express
  • 340000000002922
  • 01/20**
Discover
  • 6011000000002612
  • 01/20**
ELO
  • 6505290000002034
  • 01/20**
authenticate_unable_to_authenticate
Test Case 5: Rejected No-Challenge Authentication by the Issuer
Authentication unsuccessful. Merchants should prompt customers for another form of payment.
Visa
  • 4000000000002537
  • 01/20**
MasterCard
  • 5200000000002185
  • 01/20**
American Express
  • 340000000002062
  • 01/20**
Discover
  • 6011000000002711
  • 01/20**
ELO
  • 6505290000002083
  • 01/20**
authenticate_rejected
Test Case 6: Authentication Not Available on Lookup
Authentication unavailable for this transaction.
Visa
  • 4000000000002990
  • 01/20**
MasterCard
  • 5200000000002409
  • 01/20**
American Express
  • 340000000002468
  • 01/20**
Discover
  • 6011000000002836
  • 01/20**
ELO
  • 6505290000002091
  • 01/20**
authentication_unavailable
Test Case 7: Error on Lookup
An error occurred while attempting to lookup enrollment.
Visa
  • 4000000000002446
  • 01/20**
MasterCard
  • 5200000000002037
  • 01/20**
American Express
  • 5200000000002037
  • 01/20**
Discover
  • 6011000000002315
  • 01/20**
ELO
  • 6505290000002109
  • 01/20**
lookup_error
Test Case 8: Timeout on Lookup
Attempting to lookup enrollment resulted in a timeout.
Visa
  • 4000000000002354
  • 01/20**
MasterCard
  • 5200000000002326
  • 01/20**
American Express
  • 340000000002047
  • 01/20**
Discover
  • 6011000000002869
  • 01/20**
ELO
  • 6505290000002125
  • 01/20**
lookup_failed_acs_error
Test Case 9: Bypassed Authentication
Bypass used to simulate a scenario where merchant has elected to bypass the consumer authentication flow via CardinalCommerce Rules Engine configuration.
Visa
  • 4000000000002560
  • 01/20**
MasterCard
  • 5200000000002508
  • 01/20**
American Express
  • 340000000002948
  • 01/20**
Discover
  • 6011000000002976
  • 01/20**
ELO
  • 6505290000002166
  • 01/20**
lookup_bypassed
Test Case 10: Successful Challenge Authentication
Cardholder enrolled, authentication successful, and signature verification successful.
Visa
  • 4000000000002503
  • 01/20**
MasterCard
  • 5200000000002151
  • 01/20**
American Express
  • 340000000002534
  • 01/20**
Discover
  • 6011000000002265
  • 01/20**
ELO
  • 6505290000002190
  • 01/20**
authenticate_successful
Test Case 11: Failed Challenge Authentication
Cardholder enrolled, authentication unsuccessful. Merchants should prompt customers for another form of payment.
Visa
  • 4000000000002370
  • 01/20**
MasterCard
  • 5200000000002490
  • 01/20**
American Express
  • 340000000002237
  • 01/20**
Discover
  • 6011000000002695
  • 01/20**
ELO
  • 6505290000002208
  • 01/20**
challenge_required
Test Case 12: Challenge Authentication is Unavailable
Authentication unavailable for this transaction.
Visa
  • 4000000000002420
  • 01/20**
MasterCard
  • 5200000000002664
  • 01/20**
American Express
  • 340000000002484
  • 01/20**
Discover
  • 6011000000002851
  • 01/20**
ELO
  • 6505290000002257
  • 01/20**
challenge_required
Test Case 13: Error on Authentication
An error occurred while attempting to authenticate. Alternatively, merchants can ask customers for an alternative form of payment.
Visa
  • 4000000000002644
  • 01/20**
MasterCard
  • 5200000000002656
  • 01/20**
American Express
  • 340000000002351
  • 01/20**
Discover
  • 6011000000002570
  • 01/20**
ELO
  • 6505290000002265
  • 01/20**
authenticate_error
Test Case 14: Data Only Successful
The data-only 3D Secure call was successfully created. The dataOnlyRequestedflag must be sent to receive a successful response.
MasterCard
  • 5119737947565580
  • 01/20**
data_only_successful
Test Case 15: Authentication Unsuccessful
Authentication unsuccessful. Merchants should prompt customers for another form of payment.
Visa
  • 4000000000002370
  • 01/20**
American Express
  • 340000000002237
  • 01/20**
authenticate_rejected

Next steps

Optional
Test in PayPal Sandbox

A self-contained, virtual testing environment.