creditcard2 has a bug related to SOLO, and a few VisaElectron bin ranges missing
Hi all
We are currently using the credit card validation on a commercial site and I noticed a few bugs.
First for SOLO. The validation for the bin range starting with 6767 is not working because of a space after the comma but before '6767':
ards [8] = {cardName: "Solo", lengths: "16,18,19", prefixes: "6334, 6767", checkdigit: true};
Also for VisaElectron quite a lot of bin ranges are missing form the validation. (like for example the 491880 range).
A little FYI: Latest bin ranges can be found here http://www.barclaycard.co.uk/business/documents/pdfs/bin_rules.pdf
Thanks for a great product!