We need to refactor the existing flow blacklisting phone numbers (see steps in screenshots). This is triggered when the user tries to sign in with a phone number that failed to receive Twilio SMS. This is a follow up to this issue.
When calling BeginSignIn, if response[smsDeliveryFailureStatus] is not null, then it should display the following message:
"We've been unable to deliver SMS messages to [PHONE-NUMBER], so we've suspended it for 24 hours. Please try validating your number:"
There should also be a "Validate" button that calls ResetSMSDeliveryFailureStatus.
If response[hasSMSDeliveryFailure]is set totrue, we should display Validation failed because it hasn't been 24 hours since your last attempt. ${response.message} and a "Got it" button that sends the user back to the beginning of the sign in flow.
If response[hasSMSDeliveryFailure]is set tofalse, we should display Your number has been validated! Click below to send a new magic sign-in code. and a "Send" button that calls BeginSignIn as usual.
Once this is complete and merged I'll do the internal QA with the BE.
Upwork Automation - Do Not Edit
- Upwork Job URL: https://www.upwork.com/jobs/~021867038175379475893
- Upwork Job ID: 1867038175379475893
- Last Price Increase: 2024-12-12
- Automatic offers:
- nyomanjyotisa | Contributor | 105327292
We need to refactor the existing flow blacklisting phone numbers (see steps in screenshots). This is triggered when the user tries to sign in with a phone number that failed to receive Twilio SMS. This is a follow up to this issue.
When calling
BeginSignIn, ifresponse[smsDeliveryFailureStatus]is notnull, then it should display the following message:There should also be a "Validate" button that calls
ResetSMSDeliveryFailureStatus.If
response[hasSMSDeliveryFailure]is set totrue, we should displayValidation failed because it hasn't been 24 hours since your last attempt. ${response.message}and a "Got it" button that sends the user back to the beginning of the sign in flow.If
response[hasSMSDeliveryFailure]is set tofalse, we should displayYour number has been validated! Click below to send a new magic sign-in code.and a "Send" button that callsBeginSignInas usual.Once this is complete and merged I'll do the internal QA with the BE.
Upwork Automation - Do Not Edit