Hosted Payment Field Errors

The following errors are related to Hosted Payment Fields requests:

CodeNameDescription
14040EXPIRED_TOKENToken is expired
14002INVALID_CC_NUMBERInvalid credit card number
14041TOKEN_NOT_FOUNDCould not find the token
14042NO_PAYMENT_DETAILS_LINKED_TO_TOKENToken is not associated with a payment method, please verify your client integration or contact BlueSnap support.

JavaScript Errors

The following are all the errors that can be passed to your onError callback function in the errorCode and errorDescription parameters.

errorCodeerrorDescription value
'10' If tagId is ccn, errorDescription is 'invalid' or ‘empty’.
If tagId is cvv, errorDescription is 'invalid' or ‘empty’.
* If tagId is exp, errorDescription is 'invalid' or ‘empty’.
'22013''CC type is not supported by the merchant'
'14040''Token is expired'
'14041''Could not find token'
'14042''Token is not associated with a payment method,
please verify your client integration or contact BlueSnap support'
'400''Session expired please refresh page to continue'
'403', '404', '500''Internal server error please try again later'
3-D Secure ErrorsFor all the 3-D Secure JavaScript errors, see the 3-D Secure for API Guide.