Skip to content

Draft: Identity verification wizard

Eugie Limpin requested to merge identity-verification-wizard into master

What does this MR do and why?

your-a-wizard-harry

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Credit card verification

  1. Ensure that you have a running CustomersDot installation locally and Zuora is set up to use GL.com CC Validation_registration hosted page with the correct callback to your local GDK instance
  2. Enable relevant feature flags
    $ rails console
    > Feature.enable(:identity_verification)
  3. Sign up for a new account. After, you should be redirected to the Identity Verification page (http://localhost:3000/users/identity_verification)
  4. Fake a High Arkose Labs risk score for your new account. This is a prerequisite for the credit card verification
    $ rails console
    > UserCustomAttribute.upsert_custom_attributes([{key: 'arkose_risk_band', value: 'High', user_id: User.last.id }])
  5. Validate that the credit card verification step is now shown on the Identity Verification page
    📸 Screen_Shot_2022-09-29_at_10.22.05_AM
  6. Fill up and submit the form with the following values
    Name on card: Any name
    Card number: 4242 4242 4242 4242
    Expiration date: Any future date
    CVC: Any 3-digit number
  7. Validate that the credit card verification step card collapses and shows a check icon after the successful verification
    📸 Screen_Shot_2022-09-29_at_10.25.26_AM
  8. Validate that the phone number verification step expands

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Eugie Limpin

Merge request reports