UNPKG

@hipay/hipay-enterprise-sdk-nodejs

Version:

The HiPay Enterprise SDK for NodeJS is a library for developers who want to integrate HiPay Enterprise payment methods to any NodeJS platform.

34 lines (32 loc) 1.76 kB
'use strict'; /** * 3D secure constant values * * ENROLLMENT_UNKNOWN Default value * ENROLLMENT_AUTHENTICATION_AVAILABLE Card is enrolled in the 3-D Secure program * ENROLLMENT_CARD_HOLDER_NOT_ENROLLED Card is not enrolled in 3-D Secure program * ENROLLMENT_UNABLE_TO_AUTHENTICATE The card associations were unable to verify if the cardholder is enrolled in the 3- D Secure program * ENROLLMENT_OTHER_ERROR An error occurred during the enrollment verification process * * AUTHENTICATION_UNKNOWN default status * AUTHENTICATION_SUCCESSFUL Cardholder was successfully authenticated * AUTHENTICATION_ATTEMPTED Authentication Attempted * AUTHENTICATION_COULD_NOT_PERFORMED The Issuer is not able to complete the authentication request * AUTHENTICATION_FAILED Authentication failed and the card should not be accepted for payment * AUTHENTICATION_OTHER An error occurred during the authentication process * * @type {{AUTHENTICATION_OTHER: String, ENROLLMENT_AUTHENTICATION_AVAILABLE: String, ENROLLMENT_OTHER_ERROR: String, AUTHENTICATION_ATTEMPTED: String, ENROLLMENT_UNKNOWN: String, ENROLLMENT_CARD_HOLDER_NOT_ENROLLED: String, AUTHENTICATION_UNKNOWN: String, AUTHENTICATION_COULD_NOT_PERFORMED: String, AUTHENTICATION_FAILED: String, ENROLLMENT_UNABLE_TO_AUTHENTICATE: String, AUTHENTICATION_SUCCESSFUL: String}} */ module.exports = { ENROLLMENT_UNKNOWN: ' ', ENROLLMENT_AUTHENTICATION_AVAILABLE: 'Y', ENROLLMENT_CARD_HOLDER_NOT_ENROLLED: 'N', ENROLLMENT_UNABLE_TO_AUTHENTICATE: 'U', ENROLLMENT_OTHER_ERROR: 'R', AUTHENTICATION_UNKNOWN: ' ', AUTHENTICATION_SUCCESSFUL: 'Y', AUTHENTICATION_ATTEMPTED: 'A', AUTHENTICATION_COULD_NOT_PERFORMED: 'U', AUTHENTICATION_FAILED: 'N', AUTHENTICATION_OTHER: 'E' };