-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Show error modal when wallet verify fails because user tries verifying 2 different accounts at same custodian with same Wallet ID #16468
Comments
Per the wallet disconnect (#15237) testing call today with @jumde @Miyayes @husobee, we encountered this problem with the below version while testing on staging env.
The UI is showing "Wallet Verified" and the wallet balance but it should not be. If you look at the logs you will see an error:
Steps for the two scenarios which produced this issue can be found under https://github.com/brave/internal/issues/774#issuecomment-856063731. They are:
In 1A, the UI should not show wallet balance and should show "Verify Wallet". @Miyayes please correct if I've misspoken on any of the above per today's discussions. |
This may be resolved by brave/brave-core#9212 |
Fixed with brave/brave-core#9212 |
Verified using
Uphold - PASSEDSee #17271 (comment), #17265 (comment), #17259 (comment) for verifications with Clean and Upgrade profiles. ![]()
Gemini - FAILED (follow up issues logged)Since Gemini is being added with 1.29.x, there is only the Clean profile case.
--> no error modal like the one requested, logged as #17569
bitFlyer - FAILED (follow up issue logged)Clean Profile
--> error shown matches the error from issue description. See #17592
Upgrade CaseInstalled 1.28.106, staging env, in Japan region, enabled Rewards
Logs:
Upgrade to 1.29.x. |
Description
A user cannot verify more than 1 of the same custodian (e.g., Uphold) account with any Rewards Wallet ID. If they try, the second Uphold linking attempt will fail. An error is logged in Rewards logs, but no specific error is shown in the UI to tell the user.
Edit: When testing in the bitFlyer case, the following generic error modal appears:
Solution
Show an error modal in the brave://rewards settings page (as part of the linking attempt process) telling the user that wallet verifying failed because their Brave Rewards wallet is already associated with another account at that custodian. @emerick can help with this error modal if needed.
Update: Wallet should not go into "Wallet verified" state with the new account. Wallet state should remain whatever it was prior to attempt to verify with a second Uphold account.
Error Modal Text
Copy approved by @codybanxs
The text was updated successfully, but these errors were encountered: