How can I test the different card types?
For testing transactions on the Sage Pay test server, you will need to use the following card numbers to simulate a successful transaction. Any other card numbers will generate a failed transaction.
Please note that there are no dummy cards to use on the Live server. Actual Live bank cards will need to be used to put through a successful transaction.
| Card Type | Sage Pay Card Name | Card Number | Issue Number |
| Visa | VISA | 4929000000006 | n/a |
| Visa Delta (Debit) | DELTA | 4462000000000003 | n/a |
| Visa Electron UK Debit | UKE | 4917300000000008 | n/a |
| Mastercard | MC | 5404000000000001 | n/a |
| UK Maestro | MAESTRO | 5641820000000005 | n/a |
| International Maestro | MAESTRO | 300000000000000004 | n/a |
| American Express | AMEX | 374200000000004 | n/a |
| Japan Credit Bureau (JCB) | JCB | 3569990000000009 | n/a |
| Diners Club | DC | 36000000000008 | n/a |
| Laser Cards | LASER | 6304990000000000044 | n/a |
You'll also need to supply an Expiry Date in the future and the following values for CV2, Billing Address Numbers and Billing Post Code Numbers. These are the only values which will return as Matched. Any other values will return a Not Matched.
CV2: 123
Billing Address: 88
Billing PostCode: 412
You'll also need to enter the 3D Secure password as password (it's case sensitive) so that the 3D Secure authentication returns Fully Authenticated.
Please note that the Sage Pay test server is not integrated with any banks, therefore no monies will be transferred as a result of these tests.
If you are using our Server or Form Services, the card type will appear on the payment pages in the card type drop down list. If you are using our Direct Service, you will capture the card details and pass them to Sage Pay to obtain authorisation.
Card types to be used in your script are:
• Visa = VISA
• Visa Delta/Debit = DELTA
• Visa Electron = UKE
• Mastercard = MC
• UK Maestro = SWITCH
• International Maestro= MAESTRO
• American Express = AMEX
• Diners Club = DINERS
• JCB = JCB
• LASER = LASER
Related articles
Didn't see your answer here?
For further help please contact us.