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

Invalid Cardtype Leads to Crash for card_number() #91

Open
Atlowell opened this issue Oct 29, 2019 · 0 comments
Open

Invalid Cardtype Leads to Crash for card_number() #91

Atlowell opened this issue Oct 29, 2019 · 0 comments

Comments

@Atlowell
Copy link

Specifying an invalid card type (such as "visa" rather than "Visa") causes a crash. This is due to the statement on line 41 of payment.js not correctly checking for invalid parameters:

var mask = this.random_element(this.card_params[vendor]);

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

No branches or pull requests

1 participant