Skip to content
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

Support an optional prop to skip luhn algo check in card number validator #119

Merged
merged 2 commits into from
Feb 8, 2024

Conversation

ravishekhar
Copy link
Contributor

Support an optional prop in card number validator to skip Luhn's algorithm validation of check digit.

This can be used by clients in non production environments where card simulators can generate card numbers which does not have correct check digit.

@ravishekhar ravishekhar marked this pull request as ready for review February 8, 2024 17:32
@ravishekhar ravishekhar requested a review from a team as a code owner February 8, 2024 17:32
@ravishekhar ravishekhar merged commit bd68741 into main Feb 8, 2024
2 checks passed
@ravishekhar ravishekhar deleted the luhn-algo-skip branch February 8, 2024 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants