Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOLD for payment 2023-11-02] [HOLD for payment 2023-11-01] [CRITICAL] [P2P Activation] Improve wallet enablement error handling and allow someone to retry their info once #30093

Closed
kevinksullivan opened this issue Oct 20, 2023 · 10 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2

Comments

@kevinksullivan
Copy link
Contributor

context - https://expensify.slack.com/archives/C05RECHFBEW/p1697819082622369?thread_ts=1697779604.794959&cid=C05RECHFBEW

Problem

When a user fails certain checks during the wallet upgrade flow, they can sit on this page forever with no guidance on how to fix it.

image

Solution

In combination with this , let's improve error handling.

Once KYC is delayed, we will do this #30088

Then, for this GH, lets add:

  1. If KYC / enablement is successful - update the Wallet UI to reflect wallet is activated, and send a notification from concierge so they are aware their wallet was activated.
  • Copy: `Thanks for your patience! Your wallet has been enabled! You can now send and receive money on Expensify.
  1. If KYC or some check fails after KYC was delayed - update the UI to show a non-enabled wallet, and send a notification from concierge that explains it failed but tells them they can try again one time.
  • Copy: `There was an error when enabling your Expensify Wallet. You can try again here

3. If they fail KYC twice - hide the Enable wallet button, and add a message to the Wallet tile explaining they cannot move forward.

  • Copy: Unfortunately your wallet cannot be enabled at this time. Please chat with Concierge for further assistance.

image

@kevinksullivan kevinksullivan added the Daily KSv2 label Oct 20, 2023
@marcaaron marcaaron self-assigned this Oct 20, 2023
@marcaaron
Copy link
Contributor

If KYC / enablement is successful - update the Wallet UI to reflect wallet is activated, and send a notification from concierge so they are aware their wallet was activated.

This one is easy.

If KYC or some check fails after KYC was delayed - update the UI to show a non-enabled wallet, and send a notification from concierge that explains it failed but tells them they can try again one time.

This one is less easy 😄

We handle the delayed check that happens here in Web-Secure. There is no error handling at all yet (nbd we can add that). But the catch is that we need to send the error via Pusher. A lot has changed about how we do updates so we will have to hack this together unless we want to move the Onfido webhook out of web-secure (I'd prefer not to do that if we can avoid it).

  1. If they fail KYC twice - hide the Enable wallet button, and add a message to the Wallet tile explaining they cannot move forward.

Do we count attempts for this yet? Or is that something we want to add here? I would guess that some user level nvp called onfidoAttemptsCount would work for this.

@MariaHCD
Copy link
Contributor

MariaHCD commented Oct 22, 2023

Do we count attempts for this yet? Or is that something we want to add here? I would guess that some user level nvp called onfidoAttemptsCount would work for this.

We don't count attempts just yet. But we can probably add that field in the wallet's additionalData instead of a user-level NVP?

@marcaaron
Copy link
Contributor

We are down to just one more PR in Web-Secure here to close this one out and an App deploy (hopefully later today).
Web-E PR has been deployed to production and App PR has be CP'd to staging.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Oct 25, 2023
@melvin-bot melvin-bot bot changed the title [CRITICAL] [P2P Activation] Improve wallet enablement error handling and allow someone to retry their info once [HOLD for payment 2023-11-01] [CRITICAL] [P2P Activation] Improve wallet enablement error handling and allow someone to retry their info once Oct 25, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 25, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 25, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot
Copy link

melvin-bot bot commented Oct 25, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.90-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-11-01. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@marcaaron
Copy link
Contributor

We don't count attempts just yet. But we can probably add that field in the wallet's additionalData instead of a user-level NVP?

Oh yeah that could work too! Great idea.

@marcaaron
Copy link
Contributor

Hey @kevinksullivan can we create a new issue for "allow someone to retry their info once". I need an Onfido break 🥺

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Oct 26, 2023
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2023-11-01] [CRITICAL] [P2P Activation] Improve wallet enablement error handling and allow someone to retry their info once [HOLD for payment 2023-11-02] [HOLD for payment 2023-11-01] [CRITICAL] [P2P Activation] Improve wallet enablement error handling and allow someone to retry their info once Oct 26, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 26, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.91-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-11-02. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

@melvin-bot melvin-bot bot added Daily KSv2 Overdue and removed Weekly KSv2 labels Nov 1, 2023
Copy link

melvin-bot bot commented Nov 6, 2023

@marcaaron Huh... This is 4 days overdue. Who can take care of this?

@kevinksullivan
Copy link
Contributor Author

can we create a new issue for "allow someone to retry their info once". I need an Onfido break 🥺

Will do!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2
Projects
None yet
Development

No branches or pull requests

3 participants