Use the card numbers below when testing your integration. These are all test cards approved for use with Elavon's test systems and they will decline if used in live environments. Also, using any other test card numbers not listed here may result in a decline.
Card Type |
Card Number |
---|---|
Visa Credit |
4546341111111119 |
Visa Corporate |
4159288888888882 |
Visa Debit |
4539785000002517 |
MasterCard Credit |
5432673003275469 |
MasterCard Debit |
5108406713369360 |
MasterCard Maestro |
6772555678901238 |
AMEX |
341382706525920 |
Diners |
36252960520018 6011000000000004 |
JCB |
3566664444444445 |
For the expiration date, you can use any future date.
For the Card Security Code (CSC), you can use the following:
- Any three digits for Visa, MC, Discover (e.g. 123, 321, 748, etc.)
- Any four digits for American Express (e.g. 1234, 8590, etc.)
The Card Security Code (CSC) is sometimes called CVV, CVV2, CVC, or CVC2. For AMEX, this is the card identification number (CID).
Error Messages
There are three types of error messages:
- Declined by Gateway - transaction was declined by Converge.
- Declined by Issuer - transaction was declined by the cardholder's issuing bank.
- Declined by Processor - transaction was declined by the acquirer.
"failures" : [ { "code" : "declinedByProcessor", "description" : "Transaction was declined by the payment processor", "field" : null }, { "code" : "cardExpired", "description" : "Transaction was declined because the card has expired", "field" : null } ]
Generating Error Messages
To generate a specific error message, use the following card numbers:
Card Number |
Error Type |
---|---|
4380564306105898 |
Declined by Issuer |
4539357499250369 |
Declined by Processor |
To generate a declined by gateway error message, create a transaction that will go against a fraud rule that you have set. For example, if the maximum transaction amount for a fraud rule is set to $100, create a transaction greater than that amount.
To generate an expired card error message, use a month and year combination that represents an expiration date in the past.