getbouncer / cardscan-ios

A library for scanning credit and debit cards
MIT License
207 stars 66 forks source link

Update payment systems #202

Closed akhakimzyanov closed 4 years ago

akhakimzyanov commented 4 years ago

We have trouble, that card with prefix number 2200 doesn't recognizing. It is Russian payment system, prefix = 220. Can you add it please to CardUtils for recognizing. https://en.wikipedia.org/wiki/Mir_(payment_system)

akhakimzyanov commented 4 years ago

Here is list of actual card numbers https://en.wikipedia.org/wiki/Payment_card_number

kingst commented 4 years ago

This is a reasonable request, let me propose something and get your feedback

kingst commented 4 years ago

We added an explicit addMirSupport function to the CreditCardUtils class in addition more general support for regional cards, it'll be in our next release. Thanks for the feedback!

akhakimzyanov commented 4 years ago

Thanks! Nice solution!