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
{{ message }}
Repository navigation
Payments- No error messages displayed for using numbers for the Name of Card and Expiration date 0233 #6689
Also, I found in the Web-S WAF that cardName can accept numbers (I found this comment in the WAF: It's not uncommon that company credit cards will have crazy chars in their name.).
I'm going to close this ticket because seems those inputs are expected.
Activity
MelvinBot commentedon Dec 10, 2021
Triggered auto assignment to @marcochavezf (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.marcochavezf commentedon Dec 20, 2021
The expiration date is valid, according to the implementation of the function to validate the expiration date, the format MMYY is valid:
App/src/libs/ValidationUtils.js
Lines 96 to 114 in 864bbd6
Also, I found in the Web-S WAF that
cardNamecan accept numbers (I found this comment in the WAF:It's not uncommon that company credit cards will have crazy chars in their name.).I'm going to close this ticket because seems those inputs are expected.
marcochavezf commentedon Dec 20, 2021
I noticed we have a few frontend validations in old dot, I'm going re-open the issue and create a PR to reuse/mimic the same logic.