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

Ability to mask CVC number #400

Open
hvaughan3 opened this issue May 17, 2018 · 3 comments
Open

Ability to mask CVC number #400

hvaughan3 opened this issue May 17, 2018 · 3 comments

Comments

@hvaughan3
Copy link

It would be nice if the library could mask the CVC (CVV) number the same way it can mask the card number.

I am assuming this is not already a feature after looking through the code and trying out a few different ways of specifying the CVC number in the masks configuration.

Perhaps something like

....

masks: {
  cardNumber: '•', // optional - mask card number
  cvcNumber: '•'
}

....
@hounw
Copy link

hounw commented Apr 22, 2020

Were you able to find a workaround? One of the payment gateways is getting picky about displaying the cvv in the screen which in actuality makes a little sense since it's like your credit card's password...

@stanleynik
Copy link

No workaround?

@melloware
Copy link
Collaborator

Not currently we we accept PR's

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

4 participants