Some error messages from Nexmo are not good to show to the end-user. Example: "The Nexmo platform was unable to process this message for the following reason: Request 'a98f5e449f40462bb8d3bd48f41d867e' was not found or it has been verified already." Some are ok like "The code provided does not match the expected value" and "A wrong code was provided too many times. Workflow terminated" https://docs.nexmo.com/index.php/verify/search#verify_return_code has a list of possible return statuses. I think we should pass through to the user only numbers 3 10 15 16 17. The rest should show a generic error message to the user.
We should show a couple example phone numbers like 1-311-555-2368 and +61 8 5550 1757 (both fake numbers that Nexmo won't accept) so that people know what kind of format they should put in.
Show a better indication of status after submitting phone number. Instead of changing to just "Enter PIN", show "A PIN is being sent to your phone. If you are unable to receive SMS, you will get a voice call with the number
Enter your PIN:"
It should be possible to have site-specific text added to the main paragraph either through template override or a bit of html as a config option. E.g.
Problems with verification? <a href="/support">Get Support</a>
Log in to post a comment.