From 5b9fa6aa4311df06812122b119b69db47e20790b Mon Sep 17 00:00:00 2001 From: marcelfogacaaguiar Date: Mon, 2 Jan 2017 22:15:31 -0500 Subject: [PATCH] Expansion to 2-series Bank Identification Numbers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mastercard® has received an additional range of 2-series numbers to add to the 5-series that we currently provide. The 2-series BINs operate in the same way as the 5-series and we have made changes to our systems to accommodate the new numbers. Readiness for the 2-series across our issuers, merchants and other partners is tracking on target dates listed below. Mastercard customer financial institutions can expect to be issued 2-series BINs starting in 2017. --- lib/angular-payments.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/angular-payments.js b/lib/angular-payments.js index bb1939a..7b8b701 100755 --- a/lib/angular-payments.js +++ b/lib/angular-payments.js @@ -89,7 +89,7 @@ angular.module('angularPayments', []);angular.module('angularPayments') luhn: true }, { type: 'mastercard', - pattern: /^5[1-5]/, + pattern: /^(5[1-5]|222[1-9]|22[3-9]|2[3-6]|27[0-1]|2720)/, format: defaultFormat, inputFormat: defaultInputFormat, length: [16],