prolificinteractive / Caishen

A Payment Card UI & Validator for iOS
MIT License
766 stars 119 forks source link

Support new BIN ranges for MasterCard #137

Closed hkellaway closed 6 years ago

hkellaway commented 6 years ago

MasterCard just introduced new BIN ranges. Caishen should be able to recognize new ranges as a MasterCard

https://www.cardfellow.com/new-mastercard-bins/

hkellaway commented 6 years ago

MasterCard page out it: https://www.mastercard.us/en-us/issuers/get-support/2-series-bin-expansion.html

hkellaway commented 6 years ago

example numbers that should be recognized as MasterCard: 2221-1111-1111-1112 2221-1112-2222-2204

DannyVancura commented 6 years ago

@hkellaway is this related? if so, this has been released with version 2.1.1.