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

[Desktop] Do not show 0.0 BAT for monthly ad earnings in the Monthly Contribution Statements for verified wallets #9211

Closed
Miyayes opened this issue Apr 14, 2020 · 16 comments · Fixed by brave/brave-core#10152
Assignees
Labels

Comments

@Miyayes
Copy link
Collaborator

Miyayes commented Apr 14, 2020

If the Brave Rewards wallet is verified, then earnings for each month where the wallet is verified will display 0.0 BAT (since ads earnings are sent directly to the user's Uphold account, rather than being accounted for within the browser). Instead of displaying 0.0 BAT, the interface should display an informative message about this case or, e.g., link to the user's Uphold transactions page.

image

Displaying 0.0 BAT for "Earnings from Ads" may be confusing to users. For example, in the above screenshot, the user did have ad earnings for that month, but the statement still displays 0.0 BAT.

Possible Solution:

Make some conditional logic such that if the wallet is verified for some month, then replace "0.0 BAT" with a link to the user's Uphold account, or some other message.

Update: Hyperlink text == "View deposit history"

Add correct accounting in the verified case.

Version 1.7.92 Chromium: 80.0.3987.163 (Official Build) (64-bit) MacOS

@LaurenWags
Copy link
Member

cc @mandar-brave @jenn-rhim also

@kasramp
Copy link

kasramp commented Sep 8, 2020

I also have the same issue. Running Version 1.13.82 Chromium: 85.0.4183.83 (Official Build) (64-bit) on Linux Mint 19.3 Tricia. I also noticed a visual bug. If from the drop down I change the month it doesn't reflect and only the check mark is shown if I open the drop down,
bug
Notice how in the highlight it's showing September even when May is selected.

@LaurenWags
Copy link
Member

@kasramp thanks for reporting, the bug with the drop down selection is being tracked with #11613

@srirambv srirambv changed the title Do not show 0.0 BAT for monthly ad earnings in the Monthly Contribution Statements for verified wallets [Desktop] Do not show 0.0 BAT for monthly ad earnings in the Monthly Contribution Statements for verified wallets Sep 9, 2020
@Miyayes Miyayes removed the suggestion label Dec 2, 2020
@Miyayes
Copy link
Collaborator Author

Miyayes commented Dec 11, 2020

0.0 BAT can be replaced with a link to a user's Uphold transaction history page (e.g. “See your earnings history on Uphold”). According to Uphold, it's currently not possible to filter by month, so a link to the general transaction page will do for now!

https://uphold.com/dashboard/cards/{card_id}/activity

Query parameters possible for pagination: e.g., ?page=2.

@Miyayes
Copy link
Collaborator Author

Miyayes commented Dec 14, 2020

Confirmation by Uphold.

In the page there's no option to filter the activity by month. Still, you can download the Activity report and work the CSV file to filter by dates.

Stick with simple solution for now. Do not download and parse .csv:

@marshall marshall added the priority/P2 A bad problem. We might uplift this to the next planned release. label Dec 16, 2020
@jenn-rhim
Copy link

The earning should be indicated here regardless of where the tokens are stored/managed, just as the total balance. This seems to have gotten off the rail somewhere.

@Miyayes
Copy link
Collaborator Author

Miyayes commented Jan 7, 2021

@jenn-rhim Unfortunately, the issue (I was told by Nejc back in the day, and I think is probably still true) is that because they're direct deposits to Uphold, we don't have easy access to the accounting, so we can't fetch this information easily :(.

I think this would just be a temporary solution until we fix these issues from the bottom up (for instance, with pure virtual wallets).

@Miyayes Miyayes added priority/P3 The next thing for us to work on. It'll ride the trains. and removed priority/P2 A bad problem. We might uplift this to the next planned release. labels Mar 24, 2021
@Miyayes
Copy link
Collaborator Author

Miyayes commented Apr 23, 2021

This will be resolved properly (not with a stopgap solution) once this is implemented: #15320

Edit see below.

@Miyayes
Copy link
Collaborator Author

Miyayes commented Jun 11, 2021

I think we should just go with the stopgap solution for now as initially proposed (link out to the custodians' transaction page). It's an easier win and will end confusion in the immediate term. Waiting for #15320 may take too long, and #15320 might become obsolete anyway if/when we move away from direct deposits.

@Miyayes
Copy link
Collaborator Author

Miyayes commented Jun 16, 2021

Going with View deposit history for the hyperlink text. cc: @zenparsing @codybanxs

@Miyayes
Copy link
Collaborator Author

Miyayes commented Jun 21, 2021

+1 https://community.brave.com/t/faulty-monthly-statement/245787

@Miyayes
Copy link
Collaborator Author

Miyayes commented Aug 8, 2021

@Miyayes
Copy link
Collaborator Author

Miyayes commented Sep 16, 2021

Related: #18159

@LaurenWags
Copy link
Member

LaurenWags commented Oct 25, 2021

Verified passed with

Brave | 1.32.78 Chromium: 95.0.4638.54 (Official Build) beta (x86_64)
-- | --
Revision | d31a821ec901f68d0d34ccdbaea45b4c86ce543e-refs/branch-heads/4638@{#871}
OS | macOS Version 11.6 (Build 20G165)

Verified test plan from brave/brave-core#10152 (comment)

Anon wallet

Confirmed that there is not a View deposit history link next to Earnings from Ads on Monthly Statement:

Anon wallet
Uphold wallet

Confirmed that there is a View deposit history link next to Earnings from Ads on Monthly Statement.
Confirmed that this link directs to /dashboard/cards/:card-id/activity, however it is redirected on the Uphold site to /dashboard/transact.

Example Example Example
Uphold1 Uphold2 Uphold3
bitFlyer wallet

Confirmed that there is a View deposit history link next to Earnings from Ads on Monthly Statement.
Confirmed that this link directs to /ja-jp/ex/tradehistory as expected.

Example Example Example
bF1 bF2 bF3
Gemini wallet

Confirmed that there is a View deposit history link next to Earnings from Ads on Monthly Statement.
Confirmed that this link directs to /balances as expected.

Example Example Example
Gemini1 Gemini2 Gemini3

@LaurenWags LaurenWags added QA Pass-macOS and removed QA/In-Progress Indicates that QA is currently in progress for that particular issue labels Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment