braintree / credit-card-type

A library for determining credit card type
MIT License
980 stars 154 forks source link

Add `Mir` card definitions #70

Closed antongolub closed 6 years ago

antongolub commented 6 years ago

Introduce definitions for Mir payment system. This impl is in strict accordance with the official documentation: mironline.ru, nspk.ru

Reasonable notes:

antongolub commented 6 years ago

I've missed exposed property creditCardType.types. I guess, it should be covered with test.

antongolub commented 6 years ago

Let me add some positive thoughts. Braintree does not process Mir card, but QIWI does. As a member of NSPK, we get the actual documentation in its entirety, so we could help you with any related issue.

Despite the fork with custom presets would completely cover our needs, I'd still prefer to use a single open library instead of yet another one implementation.

crookedneighbor commented 6 years ago

This has been released as part of v6.3.0