Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for new bcmc bins #648

Merged
merged 1 commit into from
Jan 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,10 @@ export const ENCRYPTED_PIN_FIELD = 'encryptedPin';
export const ENCRYPTED_BANK_ACCNT_NUMBER_FIELD = 'encryptedBankAccountNumber';
export const ENCRYPTED_BANK_LOCATION_FIELD = 'encryptedBankLocationId';

export const SF_VERSION = '3.2.7';
export const SF_VERSION = '3.2.8';

export const DEFAULT_CARD_GROUP_TYPES = ['amex', 'mc', 'visa'];

export const IFRAME_TITLE = 'Iframe for secured card data input field';

export const NON_CREDIT_CARD_TYPE_SECURED_FIELDS = ['sepa', 'sepadirectdebit', 'ach', 'giftcard'];

export const CSF_FIELDS_ARRAY = [
Expand Down
2 changes: 0 additions & 2 deletions packages/lib/src/core/Errors/constants.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
export const ERROR_MSG_CARD_TOO_OLD = 'Card too old';
export const ERROR_MSG_CARD_TOO_FAR_IN_FUTURE = 'Date too far in future';
export const ERROR_MSG_CARD_NUMBER_MISMATCH = "Typed card number doesn't match card brand";
export const ERROR_MSG_INCOMPLETE_FIELD = 'incomplete field';
export const ERROR_MSG_LUHN_CHECK_FAILED = 'luhn check failed';
export const ERROR_MSG_UNSUPPORTED_CARD_ENTERED = 'Unsupported card entered';
Expand All @@ -21,7 +20,6 @@ export const ERROR_CODES = {
[ERROR_MSG_INCOMPLETE_FIELD]: 'error.va.gen.01',
[ERROR_MSG_INVALID_FIELD]: 'error.va.gen.02',
[ERROR_MSG_LUHN_CHECK_FAILED]: 'error.va.sf-cc-num.01',
[ERROR_MSG_CARD_NUMBER_MISMATCH]: 'error.va.sf-cc-num.02',
[ERROR_MSG_CARD_TOO_OLD]: 'error.va.sf-cc-dat.01',
[ERROR_MSG_CARD_TOO_FAR_IN_FUTURE]: 'error.va.sf-cc-dat.02',
[ERROR_MSG_UNSUPPORTED_CARD_ENTERED]: 'error.va.sf-cc-num.03' // Triggered in Components
Expand Down
1 change: 0 additions & 1 deletion packages/lib/src/language/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@
"error.va.gen.01": "Incomplete field",
"error.va.gen.02": "Field not valid",
"error.va.sf-cc-num.01": "Invalid card number",
"error.va.sf-cc-num.02": "Typed card number doesn't match card brand",
"error.va.sf-cc-num.03": "Unsupported card entered",
"error.va.sf-cc-dat.01": "Card too old",
"error.va.sf-cc-dat.02": "Date too far in the future",
Expand Down