You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is how the checksums are calculated. Since the validation algorithm adds the digits and multiples of the digits together and then checks that it's divisible by 10, a sum of 0 would pass the validation.
I'll add tests and a validation to test that the summation of algorithm isn't 0.
As in the title, the function returns true with a card number of zero, (or multiple zeros).
I dont know what to think, it look like a major issue.
I didnt search further in the library code to find a solution yet, but soon i'll try.
The text was updated successfully, but these errors were encountered: