Closed flaviosantos-dev closed 2 years ago
Hi @flaviosans,
Thanks for opening this issue. Unfortunately the Adyen Magento 2 Module is not responsible for the validation in the checkout page. The module utilizes the web component for this functionality. This web component is then included into the module.
Could you please redirect your question to this repository? Please also include the version of the component you are utilizing. You can obtain this version, by first checking the version of your Magento 2 Module and then checking our releases page to identify which component version is utilized by the aforementioned module version.
Thanks, Jean Adyen
Describe the bug In the last step, when we have to fill the ssn field with brazilian CPF or CNPJ, the field is not masked. Even if correctly filled by user, with no mask, the validator rejects because of format, with no dots or slashes. If user inserts the mask manually, everything goes well.
To Reproduce Steps to reproduce the behavior:
Expected Behavior Order placed with success
Screenshots
Valid CNPJ being rejected because has no mask.
Additional context We need only apply the mask, to the entered number 12345678912 become 123.456.789-12 (for CNPJ) or the number 12345678123456 become 12.345.678/1234-56, for example. The Module already has further validation for authenticity of this data.