card.io-iOS-SDK icon indicating copy to clipboard operation
card.io-iOS-SDK copied to clipboard

Add new MasterCard first digit

Open ampilogov opened this issue 9 years ago • 12 comments

On November 3rd 2014, MasterCard announced that they were introducing a new series of BIN ranges that begin with a “2” (222100–272099). The “2” series BINs will be processed the same as the “51–55” series BINs are today.

Could you add it in ENUM CardIOCreditCardType

ampilogov avatar Nov 02 '15 11:11 ampilogov

Thanks for the heads-up, @ivampir!

The full quote from Wikipedia is:

On November 3rd 2014, MasterCard announced that they were introducing a new series of BIN ranges that begin with a “2” (222100–272099). The “2” series BINs will be processed the same as the “51–55” series BINs are today. They will become active 14th October 2016.

So apparently we still have some time to get this new prefix into card.io.

(Note to implementers: IIRC we do prefix-checking in three spots, all of which need to be kept in sync: DMZ, iOS, and Android.)

dgoldman-pdx avatar Nov 02 '15 18:11 dgoldman-pdx

Yep, we do need to update all 3 repos. Can we open an issue in DMZ to track?

braebot avatar Nov 02 '15 19:11 braebot

Cold you add it in next version?

ampilogov avatar Nov 06 '15 13:11 ampilogov

hello, may I ask if we had any update for this issue?

sleepylee avatar Jul 01 '16 07:07 sleepylee

No update at the moment. Feel free to submit a PR with the relevant changes!

braebot avatar Jul 07 '16 20:07 braebot

Hi any update on adding the Master card 2 series to the dmz?

aneesham avatar Feb 01 '17 21:02 aneesham

https://github.com/card-io/card.io-dmz/commit/02e1c4369cae45a3c2c3ed2ccfc81359d1566951

lkorth avatar Feb 01 '17 21:02 lkorth

We could add these cards but don’t have any examples. Can you send some sample images of the cards you want to add?. feel free to overlay some of the card digits but not all. From these images, I could suggest a potential process for us to update the source. If the cards are simple, it would only require adding a the card format to the definitions file. If they have complex fonts and background colors, it could involve training the neural engine.

Coley

On Feb 1, 2017, at 16:04, aneesham [email protected] wrote:

Hi any update on adding the Master card 2 series to the dmz?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/card-io/card.io-iOS-SDK/issues/156#issuecomment-276781710, or mute the thread https://github.com/notifications/unsubscribe-auth/AQwvcf1UdF9ws-rXQBemYX02R3xcHYcBks5rYPNQgaJpZM4GaCf9.

CTBConsulting avatar Feb 01 '17 21:02 CTBConsulting

@lkorth : The current open source SDK for iOS (https://github.com/card-io/card.io-iOS-SDK) does not reflect the new dmz hash, is there a way to update it.

aneesham avatar Feb 01 '17 21:02 aneesham

Yes the dmz submodule would need to be updated in https://github.com/card-io/card.io-iOS-source and a new release made.

lkorth avatar Feb 01 '17 21:02 lkorth

When this change will be pulled to https://github.com/card-io/card.io-iOS-source and released in the new version. The current version doesn't format with spaces nor show the MasterCard logo when card number starts with 222*.

diego-varela avatar Dec 22 '17 23:12 diego-varela

Hi any plans to add in this new card number format? it's 3 years already lol... Any pull request for this item currently?

Keatooon avatar Jul 12 '18 09:07 Keatooon