Processor Reference
Processor-specific details, test cards, and error codes for Shift4 and Rapyd
Cost+ works with multiple card processors. This page documents processor-specific behaviors, test cards, and error codes.
Shift4
Test Cards
| Card Number | Flow | Brand | Behavior |
|---|---|---|---|
4018810000100036 | Frictionless | Visa | Success |
5420711000210016 | Frictionless | Mastercard | Success |
375987000169677 | Frictionless | Amex | Success |
36849800000679 | Frictionless | Diners Club | Success |
4018810000150015 | Challenge | Visa | OTP 0101 = success, 3333 = fail |
5299910010000015 | Challenge | Mastercard | OTP 4445 = success, 9999 = fail |
375987000000005 | Challenge | Amex | OTP 5678 = success, 3333 = fail |
6011947300799885 | Challenge | Discover | OTP 5678 = success, 3333 = fail |
[!TIP] For challenge flow cards, use the specified OTP codes during 3DS authentication to simulate success or failure.
Rapyd
Test Cards
| Card Number | CVV/CVC | Brand | Behavior |
|---|---|---|---|
4111111111111111 | any | Visa | Success |
5544330000000037 | any | Mastercard | Success |
4462030000000000 | any | Visa | Success |
4111111111111105 | any | Visa | Do Not Honor |
4111111111111143 | any | Visa | Stolen Card, pick up |
4111111111111151 | any | Visa | Insufficient Funds |
[!WARNING] Rapyd limitations: Rapyd supports only one capture per authorization, and voids can only be processed before any capture.
Error Codes
| Error Code | Description |
|---|---|
ERROR_CARD_AUTHENTICATION_FAILURE | 3DS authentication not completed in time; payment cancelled |
ERROR_CARD_CVV_NOT_VALID | CVV correctly formatted but not valid |
ERROR_CARD_INFORMATION_NOT_VALID | Card info correctly formatted but not valid |
ERROR_CARD_NOT_SUPPORTED_FOR_ECOMMERCE | Transaction not supported for eCommerce |
ERROR_CARD_NOT_VALID | Card ID is not valid |
ERROR_CARD_TYPE_DISABLED | Card type is disabled |
ERROR_TRANSACTION_FAILED | Card transaction failed |
ERROR_TRANSACTION_REJECTED_BY_CARD_PROCESSOR | Rejected by processor (includes Visa/MC industry numeric code) |
ERROR_TRANSACTION_TYPE_NOT_ALLOWED_BY_SELLER | Transaction type not allowed by seller |
ERROR_TRANSACTION_TYPE_NOT_SUPPORTED | Not supported by card network |
INVALID_CARD_CVV | CVV not recognized |
INVALID_CARD_NUMBER | Card number not recognized |