import { DaffAuthorizeNetDriverErrorCodes } from '@daffodil/authorizenet/driver'
The error codes for Authorize.net driver errors.
See DaffError
and DaffStateError
.
enum DaffAuthorizeNetDriverErrorCodes {
ACCEPTJS_INVALID = DaffAuthorizeNetDriverErrorCodes.ACCEPTJS_INVALID,
ACCEPTJS_MISSING = DaffAuthorizeNetDriverErrorCodes.ACCEPTJS_MISSING,
AUTH_FAILED = DaffAuthorizeNetDriverErrorCodes.AUTH_FAILED,
INPUT_MISSING = DaffAuthorizeNetDriverErrorCodes.INPUT_MISSING,
INSECURE_CONNECTION = DaffAuthorizeNetDriverErrorCodes.INSECURE_CONNECTION,
INVALID_API_RESPONSE = DaffAuthorizeNetDriverErrorCodes.INVALID_API_RESPONSE,
INVALID_CC_CVV = DaffAuthorizeNetDriverErrorCodes.INVALID_CC_CVV,
INVALID_CC_EXP_MONTH = DaffAuthorizeNetDriverErrorCodes.INVALID_CC_EXP_MONTH,
INVALID_CC_EXP_YEAR = DaffAuthorizeNetDriverErrorCodes.INVALID_CC_EXP_YEAR,
INVALID_CC_NAME = DaffAuthorizeNetDriverErrorCodes.INVALID_CC_NAME,
INVALID_CC_NUMBER = DaffAuthorizeNetDriverErrorCodes.INVALID_CC_NUMBER,
INVALID_CLIENT_KEY = DaffAuthorizeNetDriverErrorCodes.INVALID_CLIENT_KEY,
INVALID_LOGIN_ID = DaffAuthorizeNetDriverErrorCodes.INVALID_LOGIN_ID,
INVALID_POSTAL_CODE = DaffAuthorizeNetDriverErrorCodes.INVALID_POSTAL_CODE,
PAST_CC_EXPIRATION = DaffAuthorizeNetDriverErrorCodes.PAST_CC_EXPIRATION,
UNCONFIGURED = DaffAuthorizeNetDriverErrorCodes.UNCONFIGURED,
}