vue-credit-card-validation icon indicating copy to clipboard operation
vue-credit-card-validation copied to clipboard

Create Card Holder Validation

Open paulocosta94 opened this issue 2 years ago • 3 comments

Hello, some gateways requires Card Name validation. Can u add this feature, please? https://www.graphicpear.com/wp-content/uploads/2018/04/Credit-Card-Mockup.jpg

paulocosta94 avatar Jun 24 '22 02:06 paulocosta94

Could you please describe the requirements this validation would need?

wuori avatar Jun 24 '22 02:06 wuori

Could you please describe the requirements this validation would need?

At least First Name + Last Name. Not just First Name. It has to have a space between First Name and Last Name. For exemple:

"Paul Steve Panakkal" return true
"Paul" return false

paulocosta94 avatar Jun 24 '22 03:06 paulocosta94

Thanks! I'll try to get to this next week. Feel free to submit a PR in the meantime if you have a fix. We would need to make this optional.

wuori avatar Jun 24 '22 04:06 wuori