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 }}
This repository was archived by the owner on Oct 15, 2024. It is now read-only.
Olá Bruno,
https://github.com/brunoosilva/moip-sdk-js/blob/master/src/validator.js#L88
Você sabe dizer porque neste ponto da validação o código só remove alguns caracteres?
O correto não seria fazer uma expressão regular que deixasse apenas os números?
Faz sentido? Sabe se existe número de cartão de crédito que algum caracter que não seja número, tipo "X"?
Se fosse assim, funcionaria?