Skip to content

Commit

Permalink
Merge pull request #648 from Adyen/fix/allow_bin_lookup_for_new_bcmc_…
Browse files Browse the repository at this point in the history
…bins

Fix for new bcmc bins
  • Loading branch information
sponglord committed Jan 8, 2021
2 parents 8afd63b + 4d1960b commit 470c72d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
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

0 comments on commit 470c72d

Please sign in to comment.