-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Description
Context
Currently some of the validation checks in the Vortex app dont work as expected for ex. limits and valid CPF. This ticket is to fix those validation checks
Todo
- Ensure limits per currency are in place
- BRL - Min - 3 BRL and Max - 120,000 BRL
- EUR - Min - 1 EUR BUY / 25 EUR SELL and Max - 10,000 EUR
- Users should not be able to initiate the transactions if the amounts are above our below the above range.
- If the input is different than the range, show following message "[Currency Name] orders must be between [Min] and [Max]"
- On Enter details page
- For CPF and CNPJ validation
- Reject all same digits for ex. 1111111111111
- Reject all sequences for ex. 1234567890
- "Continue" button should be enabled only when all the input fields on that page have valid inputs
- On the KYC verification page
- Birth date picker should not allow to pick dates in the future
- Also the date picker icon should be present in the input field
- Date picker should allow only dates, that assume the user is >=18 yrs old
- On the document upload screen
- Show helper text below "CNH Document" as "Click here to upload". Same for "RG"
- On uploading the file the above helper text should change to Name of the file that was uploaded.
Note
- All the above changes apply for the BRL flow except the limits
- File format text on document upload screen is already added by Kacper in another ticket so not mentioning here
- For the CPF and CNPJ validation ensured basic validation of sequences and same number, have not considered the algorithm way. Assuming that implementing alogrithm would be higher effort and overkill too. @pendulum-chain/devs let me know wdyt?
- For the date picker icon, we can use the same style that we used for other icons
Metadata
Metadata
Assignees
Labels
No labels