Test cards
This documentation guides you through test scenarios for transactions with and without 3D Secure (3DS) using specific test cards, valid for the sandbox environment.
Please note that these test card numbers are for testing purposes only and do not represent actual customer card data.
Payments without 3D Secure
Test scenario 1: Payment with Successful Result
Test Cards:
Brand | Number | CVC | Expiration Date | Issuing Country Code |
---|---|---|---|---|
Visa | 4000056655665556 | Any | Future date | USA |
Mastercard | 5267260000000001 | Any | Future date | BEL |
Expected behavior: The payment processor will return the transaction in successful status.
Test Scenario 2: Payment With Failed Result
Test Cards:
Brand | Number | CVC | Expiration Date | Issuing Country Code |
---|---|---|---|---|
Visa | 4242424242424242 | Any | Future date | GBR |
Mastercard | 5555555555554444 | Any | Future date | BRA |
Expected behavior: The payment processor will return the transaction in failed status.
Payments with 3D Secure
Test scenario 1: Successful Authentication
Test Cards
Brand | Number | CVC | Expiration Date | Issuing Country Code |
---|---|---|---|---|
Visa | 4000000000001000 | Any | Future date | USA |
Mastercard | 5200000000001005 | Any | Future date | MYS |
Expected behavior: The 3DS authentication process will succeed and the transaction will be approved.
Test Scenario 2: Failed Authentication
Test Cards
Brand | Number | CVC | Expiration Date | Issuing Country Code |
---|---|---|---|---|
Visa | 4000000000001013 | Any | Future date | USA |
Mastercard | 5200000000001018 | Any | Future date | MYS |
Expected behavior: The 3DS authentication process will fail and the transaction will be declined.
Test scenario 3: Authentication Not Supported
Test Cards
Brand | Number | CVC | Expiration Date | Issuing Country Code |
---|---|---|---|---|
Visa | 4000000000001034 | Any | Future date | USA |
Mastercard | 5200000000001039 | Any | Future date | MYS |
Expected behavior: The 3DS authentication process is not supported by the card.
Test scenario 4: Verification Required For Authentication With Successful Result
Test Cards
Brand | Number | CVC | Expiration Date | Issuing Country Code |
---|---|---|---|---|
Visa | 4000000000001091 | Any | Future date | USA |
Mastercard | 5200000000001096 | Any | Future date | MYS |
Expected behavior: The 3DS authentication process will require user verification and the result will be a successful validation so you can proceed with the transaction.
Test scenario 5: Verification Required For Authentication With Failed Result
Test Cards:
Brand | Number | CVC | Expiration Date | Issuing Country Code |
---|---|---|---|---|
Visa | 4000000000001109 | Any | Future date | USA |
Mastercard | 5200000000001104 | Any | Future date | MYS |
Expected behavior: The 3DS authentication process will require user verification and the result will be a failed validation so the transaction cannot proceed.