- 29 Aug 2023
- 4 Minutes to read
- Print
- DarkLight
Test Card Details
- Updated on 29 Aug 2023
- 4 Minutes to read
- Print
- DarkLight
Test Card Details
This document provides details for test cards which can be used to make test payments and simulate various decline states within the Access PaySuite infrastructure used by the Secure Bureau Service (Public Sector) and by the Evolve payment facilitator platform.
Please note – these cards should only be used on test systems, and should not be used to attempt transactions through a live system. Misuse of test card numbers can result in termination of merchant accounts by the acquiring bank.
Test Card Numbers
The following table contains test card numbers which, if used with a future expiry date, will return with an AUTHORISED / DECLINED message during testing.
Please note: The underlying configuration of the payment applications may restrict the acceptance of certain card types.
Please contact your Account / Project Manager for further info.
TYPE | AUTHORISATION | DECLINED |
---|---|---|
VISA DEBIT | 4462 0300 0000 0000 | 4462 0000 0000 0003 |
VISA CREDIT | 4543 0597 9001 6721 | 4917 6100 0000 0000 |
VISA PURCHASING | 4715 0599 9900 0437 | 4484 0000 0000 0312 |
VISA ELECTRON | 4844 2155 0011 5643 | 4245 1900 0000 0212 |
MASTERCARD CREDIT | 5454 6098 9902 6213 | 5413 3300 8901 0483 |
MASTERCARD PURCHASING | 5569 5000 0000 2312 | 5105 1051 0510 5100 |
MASTERCARD DEBIT | 5573 4899 0000 0028 | 5124 9900 0000 0002 |
MAESTRO INTERNATIONAL | 5641 8200 0000 0005 | 5000 0000 0000 0512 |
VISA CREDIT | 4444 3333 2222 1111 | Intentionally left blank |
Please note: These are TEST cards only and the expected responses will not be returned in a LIVE environment. |
3D Secure Testing
Your site may be configured either for original 3DS v1 or the newer 3DS v2.
3D Secure v1
3DS1 is enabled for the above Visa and Mastercard test cards only.
Passwords take the form: Test_xxxx where xxxx is the last 4 digits of the card number being used. To test a 3D Secure fail / decline, you can press ‘cancel’ in the 3DS / VbV (Verified by Visa) screen. Entering an incorrect password prompts you to re-enter it.
3D Secure v2
3DS2 is enabled for the above Visa and Mastercar test cards only. To simulate the 3DS2 validation, just click the button when presented on screen.
Recurring Payment Card Test
The following table contains test card numbers used for testing DECLINES of Recurring Payments.
All card numbers below will return with an AUTHORISED with the INITIAL AUTH of the card number (and any amount), but DECLINE any SUBSEQUENT PAYMENT requests (with any amount)
This will only work if the card has been stored with the correct ‘Continuous Payment Authority’ flags as per the interface specifications. Please contact your Account / Project Manager for further info.
TYPE | CARD NUMBER |
VISA DEBIT | 4485 5051 3070 8682 |
VISA CREDIT | 4111 1100 0000 0211 |
VISA PURCHASING | 4484 0000 0000 0411 |
VISA ELECTRON | 4175 0039 9388 0785 |
MASTERCARD CREDIT | 5404 0000 0000 0084 |
MASTERCARD PURCHASING | 5565 5520 6448 1449 |
MASTERCARD DEBIT | 5573 4700 0000 0001 |
Please note: These are TEST cards only and the expected responses will not be returned in a LIVE environment. |
These cards are enabled for 3D Secure, which will be required when entering the card details to create the schedule (see above for 3D Secure testing).
Foreign Cards Test Card Numbers
Note: These card numbers are intended chiefly for the use of PRP customers, as an aid to testing their PRP setup.
The following table contains non-UK test card numbers. By default, these cards will authorise. You can configure your PRP system to decline some or all of them based on the country code.
TYPE | CARD NUMBER | COUNTRY (CODE) |
MASTERCARD CREDIT | 2223 0000 4841 0010 | NETHERLANDS (NL) |
MASTERCARD DEBIT | 5500 0000 0000 0004 | UNITED STATES (US) |
VISA DEBIT | 4400 0000 0000 0008 | UNITED STATES (US) |
VISA CREDIT | 4988 4388 4388 4305 | SPAIN (ES) |
Please note: These are TEST cards only and the expected responses will not be returned in a LIVE environment. |
Advanced Testing
AVS/CSC Testing
This table includes data which allows you to test various AVS / CSC Outcomes. The following will mainly be used for API testing.
By entering the exact details in the table below, you will be returned the MATCHED VALUE OUTCOME as shown.
TYPE | CARD NUMBER | HOUSE | POST | CSC | AVS CSC | MATCHED VALUE OUTCOME | MESSAGE* |
---|---|---|---|---|---|---|---|
VISA DEBIT | 4137 3356 0011 7780 |
|
|
| 111800 | NOT CHECKED BY BANK | AUTH |
VISA DEBIT | 4137 3356 0011 7780 | 15 | 11 | 555 | 222800 | ALL MATCH | AUTH |
VISA DEBIT | 4137 3356 0011 7780 | 16 | 11 | 555 | 224800 | HOUSE # FAIL / POSTCODE OK | AUTH |
VISA DEBIT | 4137 3356 0011 7780 |
|
| 789 | 211000 | CSC MATCH | AUTH |
VISA DEBIT | 4137 3356 0011 7780 |
|
| 556 | 422800 | CSC FAIL | DECLINE |
VISA DEBIT | 4137 3356 0011 7780 |
| 12 | 555 | 242800 | POSTCODE FAIL | DECLINE |
VISA DEBIT | 4137 3356 0011 7780 |
| 12 | 556 | 442800 | CSC & POSTCODE FAIL | DECLINE |
VISA DEBIT | 4137 3356 0011 7780 | 16 | 11 | 556 | 424800 | CSC & HOUSE # FAIL | DECLINE |
VISA DEBIT | 4137 3356 0011 7780 | 16 | 12 | 555 | 244800 | ADDRESS & POSTCODE FAIL | DECLINE |
VISA DEBIT | 4137 3356 0011 7780 | 16 | 12 | 556 | 444800 | ALL VALUES FAIL | DECLINE |
Please note: |
|
* The Access PaySuite Authorisation System will automatically decline and reverse transactions depending on the AVS CSC Results.
DECLINED transactions will not complete whereas AUTH will return with an Auth code. This emulates what happens in the Live environment.
Response codes/messages are usually only seen if making a payment directly against an API – front-end systems such as Payment Portal will not display the specific error, but show either a “payment declined” or “system error” page. Details on the reason for ‘payment declined’ should never be known to the cardholder.
** Only the numerics of a postcode are used when performing Address Verification – when submitting a payment using a payment API, only the numerics are to be provided in the request. For payments taken via a Payment Portal, a full postcode will need to be entered but the specific letters used are irrelevant. For example, if the table above lists the postcode as “46”, a tester could enter either “OL4 6BT” or “SK4 6KL” and both would result in a match.
AVS / CSC Results Explained
AVS/CSC results are encoded in a six-digit string as follows:
Digit 1 | CSC check result: 1 => Not checked 2 => Matched 4 => Not matched |
Digit 2 | Postcode check result as above |
Digit 3 | Address check result as above |
Digit 4 | Authorising entity. |
Digit 5 | Always 0 |
Digit 6 | Always 0 |
E.g. 211000 => CSC matched, address and postcode not checked