Cost+ Docs

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 NumberFlowBrandBehavior
4018810000100036FrictionlessVisaSuccess
5420711000210016FrictionlessMastercardSuccess
375987000169677FrictionlessAmexSuccess
36849800000679FrictionlessDiners ClubSuccess
4018810000150015ChallengeVisaOTP 0101 = success, 3333 = fail
5299910010000015ChallengeMastercardOTP 4445 = success, 9999 = fail
375987000000005ChallengeAmexOTP 5678 = success, 3333 = fail
6011947300799885ChallengeDiscoverOTP 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 NumberCVV/CVCBrandBehavior
4111111111111111anyVisaSuccess
5544330000000037anyMastercardSuccess
4462030000000000anyVisaSuccess
4111111111111105anyVisaDo Not Honor
4111111111111143anyVisaStolen Card, pick up
4111111111111151anyVisaInsufficient Funds

[!WARNING] Rapyd limitations: Rapyd supports only one capture per authorization, and voids can only be processed before any capture.

Error Codes

Error CodeDescription
ERROR_CARD_AUTHENTICATION_FAILURE3DS authentication not completed in time; payment cancelled
ERROR_CARD_CVV_NOT_VALIDCVV correctly formatted but not valid
ERROR_CARD_INFORMATION_NOT_VALIDCard info correctly formatted but not valid
ERROR_CARD_NOT_SUPPORTED_FOR_ECOMMERCETransaction not supported for eCommerce
ERROR_CARD_NOT_VALIDCard ID is not valid
ERROR_CARD_TYPE_DISABLEDCard type is disabled
ERROR_TRANSACTION_FAILEDCard transaction failed
ERROR_TRANSACTION_REJECTED_BY_CARD_PROCESSORRejected by processor (includes Visa/MC industry numeric code)
ERROR_TRANSACTION_TYPE_NOT_ALLOWED_BY_SELLERTransaction type not allowed by seller
ERROR_TRANSACTION_TYPE_NOT_SUPPORTEDNot supported by card network
INVALID_CARD_CVVCVV not recognized
INVALID_CARD_NUMBERCard number not recognized

On this page