-
Notifications
You must be signed in to change notification settings - Fork 851
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong credit card numbers #747
Comments
Hi @MRezaNasirloo , could you please try out Datafaker.net, an active fork of this library? We did some improvements recently on the credit card generation in 1.7.0-SNAPSHOT, which might fix this issue, and we would love to hear your feedback on this. |
Hi @bodiam, Same issue, you can try the above snippet |
@MRezaNasirloo according to this info here: https://moneytips.com/anatomy-of-a-credit-card/, Visa cards:
The same information can be found here: https://en.wikipedia.org/wiki/Payment_card_number |
@bodiam You're right, however, these are not in circulation anymore, I guess.
What about DISCOVER? Max length should be 19 not 20 |
Can you give the snapshot version of Datafaker a try? I believe I fixed all the credit card issues, but if you find an issue, can you please make a new issue in the Datafaker repo for this? Thanks! |
Describe the bug
Some generated credit card numbers for
CreditCardType.VISA
andCreditCardType.DISCOVER
are wrongTo Reproduce
Expected behavior
Versions:
The text was updated successfully, but these errors were encountered: