3D Secure test scenarios

SDKCurrent


In the PayPal sandbox, you can use test cards to simulate various scenarios to generate a 3DS response in the order details response. These test scenarios cover 3DS 1.0.

Scenario Test cards API response
Successful authentication:
  • Cardholder enrolled
  • Successful authentication
  • Successful signature verification
  • Visa: 4000000000000002
  • Mastercard: 5200000000000007
  • American Express: 340000000003961
  • Expiration: 01/2023
    CVV: 123
"authentication_result": {
"liability_shift": "POSSIBLE",
"three_d_secure": {
"enrollment_status": "Y",
"authentication_status": "Y"
}
}
Failed signature:
  • Cardholder enrolled
  • Successful authentication
  • Unsuccessful signature verification
  • Visa: 4000000000000010
  • Mastercard: 5200000000000015
  • American Express: 340000000006022
  • Expiration: 01/2023
    CVV: 123
"authentication_result": {
"liability_shift": "NO",
"three_d_secure": {
"enrollment_status": "Y",
"authentication_status": "U"
}
}
Failed authentication:
  • Cardholder enrolled
  • Unsuccessful authentication
  • Successful signature verification
  • Visa: 4000000000000028
  • Mastercard: 5200000000000023
  • American Express: 340000000000033
  • Expiration: 01/2023
    CVV: 123
"authentication_result": {
"liability_shift": "NO",
"three_d_secure": {
"enrollment_status": "Y",
"authentication_status": "N"
}
}
Passive authentication:
  • Cardholder enrolled
  • Not prompted for authentication credential
  • Visa: 4000000000000101
  • Mastercard: 5200000000000908
  • American Express: 340000000003391
  • Expiration: 01/2023
    CVV: 123
"authentication_result": {
"liability_shift": "POSSIBLE",
"three_d_secure": {
"enrollment_status": "Y",
"authentication_status": "A"
}
}
Timeout encountered while processing transaction
  • Visa: 4000000000000044
  • Mastercard: 5200000000000049
  • American Express: 340000000008309
  • Expiration: 01/2023
    CVV: 123
{
"name": "SERVICE_UNAVAILABLE",
"debug_id": "3419b4c94d9d4",
"message": "service unavailable",
"links": []
}
Not enrolled:
  • Cardholder not enrolled
  • Issuing bank is not participating
  • Visa: 4000000000000051
  • Mastercard: 5200000000000056
  • American Express: 340000000008135
  • Expiration: 01/2023
    CVV: 123
"authentication_result": {
"liability_shift": "NO",
"three_d_secure": {
"enrollment_status": "N",
}
}
Authentication system is unavailable
  • Visa: 4000000000000069
  • Mastercard: 5200000000000064
  • American Express: 340000000007780
  • Expiration: 01/2023
    CVV: 123
"authentication_result": {
"liability_shift": "NO",
"three_d_secure": {
"enrollment_status": "U",
}
}
Authentication error:
  • Cardholder is enrolled
  • Error with the authentication
  • Visa: 4000000000000093
  • Mastercard: 5200000000000098
  • American Express: 340000000009299
  • Expiration: 01/2023
    CVV: 123
"authentication_result": {
"liability_shift": "UNKNOWN",
"three_d_secure": {
"enrollment_status": "Y",
"authentication_status": "U"
}
}
Authentication unavailable:
  • Cardholder is enrolled
  • Authentication is unavailable
  • Visa: 4000000000000036
  • Mastercard: 5200000000000031
  • American Express: 340000000000116
  • Expiration: 01/2023
    CVV: 123
"authentication_result": {
"liability_shift": "UNKNOWN",
"three_d_secure": {
"enrollment_status": "Y",
"authentication_status": "U"
}
}
Merchant has elected to bypass the authentication flow using 3DS system configuration settings
  • Visa: 4000990000000004
  • Mastercard: 5200990000000009
  • American Express: 340099000000001
  • Expiration: 01/2023
    CVV: 123
"authentication_result": {
"liability_shift": "NO",
"three_d_secure": {
"enrollment_status": "U",
}
}
Merchant unable to execute transactions due to a not active state.
  • Visa: 4000000000000077
  • Mastercard: 5200000000000072
  • American Express: 340000000008416
  • Expiration: 01/2023
    CVV: 123
"authentication_result": {
"liability_shift": "NO",
"three_d_secure": {
"enrollment_status": "U",
}
}
Error response to cmpi_lookup message.
  • Visa: 4000000000000085
  • Mastercard: 5200000000000080
  • American Express: 340000000006337
  • Expiration: 01/2023
    CVV: 123
"authentication_result": {
"liability_shift": "NO",
"three_d_secure": {
"enrollment_status": "U",
}
}

Next steps

Test and go live