commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <>
Subject Re: [validator] Mastercard numbers should be 16, 17, 18, 19 digits long
Date Wed, 22 Jun 2016 23:21:38 GMT
On 22 June 2016 at 23:15, Bert Put <> wrote:
> Hello,
> Fist post, so please let me know if I have posted to the wrong place.

Right place for initial contact.
- but we prefer people not to use their fists up front ;-)

> Our third party credit card processor has advised us that Mastercard
> numbers can be 16,17, 18, or 19 digits.  Previously the card number was
> only 16 digits long.  The Creditcard validator enforces 16 digits, but
> rejects card numbers that are 17, 18, or 19 digits long.  I have tried to
> find "official" documentation on to verify this requirement,
> but I can only find anecdotal evidence at the moment.
> Perhaps someone on this list can provide more authoritative information?
> If so, is there a timeline for a possible fix?  If we can find
> authoritative information to confirm the card number length I would be
> happy to make the change if someone will guide me through the process.
> Thank you, and please let me know if there is anything I can do to assist
> this effort.

Well, what we need is documentation on the new format.
They added some new prefixes recently, see:

Have they also added more digits?
If so, do they apply to all the BINs or only some?

Note that the RE for the current checks is at:

> Regards,    Bert

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message