-
Notifications
You must be signed in to change notification settings - Fork 984
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
fix(wallet): fix mercuryo on-ramp #20962
Conversation
14b7425
to
36465c2
Compare
Jenkins BuildsClick to see older builds (50)
|
59f9737
to
95362c3
Compare
95362c3
to
5c92bd0
Compare
6874451
to
061dce5
Compare
✔️ status-mobile/prs/tests/PR-20962#10 🔹 ~4 min 35 sec 🔹 061dce5 🔹 📦 tests package |
bea46b7
to
c6f6765
Compare
4a5c38b
to
b8b4b82
Compare
b8b4b82
to
09d6e4f
Compare
86% of end-end tests have passed
Failed tests (1)Click to expandClass TestCommunityMultipleDeviceMerged:
Passed tests (6)Click to expandClass TestWalletOneDevice:
Class TestWalletMultipleDevice:
Class TestCommunityOneDeviceMerged:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
|
@briansztamfater apologies, I was too quick to confirm the merging of the current PR. I need to clarify a few questions with the design team regarding the current feature |
QA happened before Review 😅 |
@briansztamfater Take a look at the found issue PR_ISSUE 1: Network drawer is shown when "Mercuryo" is selected on Swap/Send/Bridge pagesActual Result:The drawer with network options is shown. buy_page.mp4Expected result:The drawer with networks is not shown. User is directly redirected to \select asset to buy' drawer OS:IOS, Android Devices:
|
09d6e4f
to
7de05e0
Compare
@VolodLytvynenko thanks for testing, issue 1 should be fixed now! |
hi @briansztamfater, thank you for the fix. One very low-priority issue is found that can be considered as follow up. ISSUE 2: ETH and DAI are displayed in the "Your assets" section of the swap page, even when the user has a balance of 0 for these assets.Steps:
Actual Result:ETH and DAI are shown in the "Your assets" section, despite the user having a 0 balance for these tokens. yourassets.mp4Expected Result:"Your assets" section should no contains the asset if the user has no balance for these assets. If user has no assets at all, then the "Your assets" section should hidden |
71% of end-end tests have passed
Failed tests (2)Click to expandClass TestCommunityMultipleDeviceMerged:
Class TestCommunityOneDeviceMerged:
Passed tests (5)Click to expandClass TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestWalletOneDevice:
Class TestCommunityOneDeviceMerged:
Class TestWalletMultipleDevice:
|
4ad9ab0
to
dc971da
Compare
@VolodLytvynenko IMO only in Select Asset to Pay screen makes sense to hide tokens with balance 0. I updated that, let me know if that is okay, we can create a follow up if this needs more thinking. About one-time and recurrent, some providers allow to buy recurrenty (monthly buys i.e.), so we list them there. |
dc971da
to
f757c2c
Compare
71% of end-end tests have passed
Failed tests (2)Click to expandClass TestCommunityMultipleDeviceMerged:
Class TestCommunityOneDeviceMerged:
Passed tests (5)Click to expandClass TestWalletOneDevice:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestWalletMultipleDevice:
Class TestCommunityOneDeviceMerged:
|
Should that fix #21341 @VolodLytvynenko ? |
hi @briansztamfater thank you for fixes. No issues from my side. If any additional commits are added after the review, let me know and I will retest. Otherwise, the PR can be merged. Issue 2 indeed can be considered as a feature |
_ | ||
_ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leftovers ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR looks good to go.
We should merge this after QA, but as discussed on call, we might have to hide Mercuryo due to UK laws.
Regardless, we should have this code on our master branch, so we can enable it whenever we have a decision.
Hi @shivekkhurana I didn't test the token purchase process using Mercuryo in this PR; I only checked if the account address and tokens are fetched correctly from Status app, as shown in the screenshot Should we test the entire buy transaction process within such Mercuryo-related PRs, or is it enough to check it during the release phase? (Minimum price to buy tokens within Mercuryo = 25 USD) |
Signed-off-by: Brian Sztamfater <brian@status.im>
f757c2c
to
c032253
Compare
fixes #20927
fixes #21339
fixes #21341
Summary
This PR implements the flow for adding custom parameters on on-ramp providers, which fixes Mercuryo on-ramp links. Also fixes a bug that makes some popular assets not being displayed in the asset selection list.
mercuryofix.mp4
Platforms
Areas that maybe impacted
Functional
Steps to test
Issue 1
Issue 2
status: ready