Details
-
Type:
New Feature
-
Status: Done/Fixed
-
Priority:
Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.21, 4.7.10
-
Component/s: CiviContribute
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
MasterCard has announced that they will add a new 2 series BIN range effective October 2016. The BIN range (222100-272099) will be processed with and in the same manner as the existing 51-55 BIN range (510000- 559999).
See https://www.mastercard.com.au/en-us/issuers/get-support/2-series-bin-expansion.html
CiviContribute currently cannot process these new card numbers.
There are two places which require updating: the Javascript which determines which card type on the Contribution Page; as well as a Pear credit card validation library.
Here is the PR for the Javascript change: https://github.com/civicrm/civicrm-core/pull/8959
I have also submitted an upstream pull request for pear/Validate_Finance_CreditCard: https://github.com/pear/Validate_Finance_CreditCard/pull/3
The latter is the change required for a single line of this file: https://github.com/civicrm/civicrm-packages/blob/master/Validate/Finance/CreditCard.php#L181