Clover Test Cards
The following list of test credit card numbers may be used either on the Test Account or in Test Mode.
The use of live credit card information in a test environment is strongly discouraged. It is recommended that the card numbers on this page be used instead.
Please Note
While the sandbox test platform does its best to simulate what you will see in production, there may be subtle differences on a live account.
Test credit cards
Card Brand | Account Number | Response Code | Response | CVV2 Response |
---|---|---|---|---|
Discover | 6011 3610 0000 6668 | 0 | Success (approve) | M |
Visa | 4005 5780 0333 3335 | 2 | Approve for partial amounts | M |
Visa | 4005 5717 0222 2222 | 500 | Decline | M |
You may use any three digits for the CVV and any future date for the expiration.
Simulating successful transactions
In test mode, you can use the following test cards to simulate a successful transaction.
Card Brand | Account Number |
---|---|
American Express | 3782 822463 10005 |
American Express | 3714 496353 98431 |
Diners Club | 30569309025904 |
Diners Club | 38520000023237 |
Discover | 6011 0009 9013 9424 |
JCB | 3566 0020 2036 0505 |
Visa | 4242 4242 4242 4242 |
Visa | 4000 0566 5566 5556 |
By default, passing address or CVC data with the card number will cause the address and CVC checks to succeed. If not specified, the value of the checks will be null. Any expiration date in the future will be considered valid.
Simulating declines
Use the following test cards to have the payment gateway return a decline response.
Card Brand | Account Number |
---|---|
American Express | 375987654000004 |
Mastercard | 5424180273333333 |
Visa | 4264281511117771 |
Testing specific error codes
The following table gives suggestions for testing some specific error codes:
Error | Message |
---|---|
incorrect_number | Use a card number that fails the Luhn check (for example, 4242 4242 4242 4241) |
invalid_expiry_month | Use an invalid month number such as 13 |
invalid_expiry_year | Use a year in the past such as 1970 |
invalid_cvc | Use a two-digit number such as 99 |