brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.73k stars 2.31k forks source link

Add Custom Tipping Amount feature (Phase 1) #15006

Closed Miyayes closed 3 years ago

Miyayes commented 3 years ago

Description

Custom tipping amounts allows users to manually specify how much they would like to tip a Creator. The custom tipping amount option will be in addition to the default suggested tipping amounts.

Please refer to full feature specification.

LaurenWags commented 3 years ago

@zenparsing @Miyayes is there a spec and test plan for this issue? marking as QA/Blocked until this is sorted.

Miyayes commented 3 years ago

Shared spec with the team. Let me know if anything else is needed!

GeetaSarvadnya commented 3 years ago

Verification passed on

Brave | 1.25.60 Chromium: 90.0.4430.212 (Official Build) beta (64-bit)
-- | --
Revision | e3cd97fc771b893b7fd1879196d1215b622c2bed-refs/branch-heads/4430@{#1429}
OS | Windows 10 OS Version 2004 (Build 19041.985)
Custom Tip via Rewards BAT - One time Tip - Confirmed `Custom tip amount` link is shown in the tipping banner - Confirmed user can enter a whole number or 2 decimal values in the BAT text box - Confirmed USD value is shown for the entered BAT value - Confirmed entered tipping amount is rounded to closest multiple of 0.25 - Confirmed user can swap the BAT and USD values (Encountered https://github.com/brave/brave-browser/issues/15908#issuecomment-842983055) - Confirmed user can send one-time custom tips and wallet balance is shown correctly - Confirmed one-time custom tips are shown in Tips panel, summary, BR panel, publisher info table in DB, monthly statement and brave://rewards internal pages. - Confirmed Tokens are redeemed correctly in DB for the one time custom tip **Custom Tip flow:** **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** ---------------|-----------------|----------------|----------------|----------------|----------------|---------------- ![image](https://user-images.githubusercontent.com/38657976/118642976-95a09180-b7f9-11eb-861e-16a97e0ebbff.png) | ![image](https://user-images.githubusercontent.com/38657976/118643011-a5b87100-b7f9-11eb-96a7-68c8f67d3fcf.png) | ![image](https://user-images.githubusercontent.com/38657976/118643134-cb457a80-b7f9-11eb-8628-55d111e8bb00.png) | ![image](https://user-images.githubusercontent.com/38657976/118643184-d9939680-b7f9-11eb-938c-caaad321b943.png) | ![image](https://user-images.githubusercontent.com/38657976/118643252-eb753980-b7f9-11eb-81e0-6b3c5629864e.png) | ![image](https://user-images.githubusercontent.com/38657976/118643359-165f8d80-b7fa-11eb-8e0d-fb31f15b58fb.png) | ![image](https://user-images.githubusercontent.com/38657976/118643811-a7366900-b7fa-11eb-9424-d93afbe0aacf.png) **Custom Tip display in various places:** **`Tips panel`** | **`Summary`** | **`BR panel`** | **`Monthly statement`** | **`Rewards internal page`**| **DB file1** | **DB file2** | **Token redemption in DB** -----------------|-----------------|-----------------|----------------------------|-------------------------------|--------------|------------|------------ ![image](https://user-images.githubusercontent.com/38657976/118644697-b36ef600-b7fb-11eb-9fdc-2b11bb3c55fb.png) | ![image](https://user-images.githubusercontent.com/38657976/118644820-d26d8800-b7fb-11eb-844f-d71f57bfae8b.png) | ![image](https://user-images.githubusercontent.com/38657976/118644952-f335dd80-b7fb-11eb-804e-49aba8ba0a60.png) | ![image](https://user-images.githubusercontent.com/38657976/118645230-490a8580-b7fc-11eb-9a46-c5a954801abc.png) | ![image](https://user-images.githubusercontent.com/38657976/118645368-7bb47e00-b7fc-11eb-99bf-4376c7b9ece7.png) | ![image](https://user-images.githubusercontent.com/38657976/118645786-fe3d3d80-b7fc-11eb-843f-61709702ebfc.png) | ![image](https://user-images.githubusercontent.com/38657976/118646292-a521d980-b7fd-11eb-9b47-839dd6ef3e6f.png) | ![image](https://user-images.githubusercontent.com/38657976/118646549-f336dd00-b7fd-11eb-8653-92c9e9f12b1a.png)
Custom Tip via Rewards BAT - Recurring Tip - Confirmed `Custom tip amount` link is shown in the tipping banner - Confirmed user can enter a whole number or 2 decimal values in the BAT text box - Confirmed USD value is shown for the entered BAT value - Confirmed entered tipping amount is rounded to closest multiple of 0.25 - Confirmed user can swap the BAT and USD values (Encountered https://github.com/brave/brave-browser/issues/15908#issuecomment-842983055) - Confirmed user can send recurring custom tips and wallet balance is shown correctly - Confirmed recurring Tip appeared in the Monthly contribution dropdown in the BR panel - Confirmed recurring custom tips are shown in Monthly contributions panel, summary, BR panel, publisher info table in DB, monthly statement and brave://rewards internal pages. - Confirmed Tokens are redeemed correctly in DB for the recurring custom tip - Encountered and logged https://github.com/brave/brave-browser/issues/15931 **Custom Tip flow:** **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** ---------------|-----------------|----------------|----------------|----------------|----------------|----------------|---------------- ![image](https://user-images.githubusercontent.com/38657976/118651539-4cedd600-b803-11eb-92fd-4b14611fbb17.png) | ![image](https://user-images.githubusercontent.com/38657976/118651617-6000a600-b803-11eb-9271-f15b85c76354.png) | ![image](https://user-images.githubusercontent.com/38657976/118651666-6d1d9500-b803-11eb-85f8-cb4a9a951613.png) | ![image](https://user-images.githubusercontent.com/38657976/118651683-7149b280-b803-11eb-9932-13d3ebe46166.png) | ![image](https://user-images.githubusercontent.com/38657976/118651778-84f51900-b803-11eb-8f3e-b19b3e9105c0.png) | ![image](https://user-images.githubusercontent.com/38657976/118651842-93dbcb80-b803-11eb-82c4-1d5a76ebb9bf.png) | ![image](https://user-images.githubusercontent.com/38657976/118651914-a6ee9b80-b803-11eb-939f-190637c0fab3.png) | ![image](https://user-images.githubusercontent.com/38657976/118655264-fedad180-b806-11eb-843a-4f13eab6c29d.png) **Custom Tip display in various places:** **`Monthly contributions panel`** | **`Summary`** | **`BR panel`** | **`Monthly statement`** | **`Rewards internal page`** -----------------|-----------------|-----------------|----------------------------|------------------------------- ![image](https://user-images.githubusercontent.com/38657976/118652062-d2718600-b803-11eb-8b38-df9c0fabdced.png) | ![image](https://user-images.githubusercontent.com/38657976/118652155-ed43fa80-b803-11eb-8b33-daeaa894302d.png) | ![image](https://user-images.githubusercontent.com/38657976/118652196-f92fbc80-b803-11eb-9ebf-1c2bba3012da.png) | ![image](https://user-images.githubusercontent.com/38657976/118652279-119fd700-b804-11eb-83ac-e038cbdc9023.png) | ![image](https://user-images.githubusercontent.com/38657976/118652361-24b2a700-b804-11eb-9fc7-dfc68976e44f.png) | ! **DB Validations:** **DB file1** | **DB file2** | **Tokens file** | **Tokens file** | **Tokens file** | **Tokens file** | **Tokens file** | **Tokens file** -------------|---------------|-------------------------------|-------------------|------------------|-----------------|-------------------|------------ ![image](https://user-images.githubusercontent.com/38657976/118653699-6bed6780-b805-11eb-9b44-725558242420.png) | ![image](https://user-images.githubusercontent.com/38657976/118653752-7ad41a00-b805-11eb-8a4a-5a4cbb2dfaf6.png) | ![image](https://user-images.githubusercontent.com/38657976/118653940-ac4ce580-b805-11eb-82ce-a0be9ef3b396.png) | ![image](https://user-images.githubusercontent.com/38657976/118654024-bf5fb580-b805-11eb-9db0-0768db24e6ac.png) | ![image](https://user-images.githubusercontent.com/38657976/118654093-d1415880-b805-11eb-966e-a2463712bfb3.png) | ![image](https://user-images.githubusercontent.com/38657976/118654164-e4542880-b805-11eb-87f3-3ce981e028c2.png) | ![image](https://user-images.githubusercontent.com/38657976/118654230-f766f880-b805-11eb-8d28-26b3e5d0f754.png) | ![image](https://user-images.githubusercontent.com/38657976/118654318-106fa980-b806-11eb-9a50-590301fac2f0.png)
Custom Tip via Uphold BAT - One time Tip - Confirmed `Custom tip amount` link is shown in the tipping banner - Confirmed user can enter a whole number or 2 decimal values in the BAT text box - Confirmed USD value is shown for the entered BAT value - Confirmed entered tipping amount is rounded to closest multiple of 0.25 - Confirmed user can swap the BAT and USD values (Encountered https://github.com/brave/brave-browser/issues/15908#issuecomment-842983055) - Confirmed user can send one-time custom tips and wallet balance is shown correctly - Confirmed one-time custom tips are shown in Tips panel, summary, BR panel, publisher info table in DB, monthly statement and brave://rewards internal pages. - Confirmed Transactions list in uphold shows the correct 5% and 95% contribution amount **Custom Tip flow:** **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** ---------------|-----------------|----------------|----------------|----------------|----------------|---------------- ![image](https://user-images.githubusercontent.com/38657976/118661865-26349d00-b80d-11eb-9165-85967d0f7adc.png) | ![image](https://user-images.githubusercontent.com/38657976/118661914-33ea2280-b80d-11eb-84bb-4bfe00c853bf.png) | ![image](https://user-images.githubusercontent.com/38657976/118662032-4fedc400-b80d-11eb-9038-f88795af5b5d.png) | ![image](https://user-images.githubusercontent.com/38657976/118662085-5aa85900-b80d-11eb-9496-6deca2e52573.png) | ![image](https://user-images.githubusercontent.com/38657976/118662148-67c54800-b80d-11eb-9bfe-50e9d3f2fe0f.png) | ![image](https://user-images.githubusercontent.com/38657976/118662243-7c094500-b80d-11eb-878b-4e051f3abdd5.png) | ![image](https://user-images.githubusercontent.com/38657976/118662326-89beca80-b80d-11eb-8083-f44d9703da40.png) **Custom Tip display in various places:** **`Tips panel`** | **`Summary`** | **`BR panel`** | **`Monthly statement`** | **`Rewards internal page`** -----------------|-----------------|-----------------|----------------------------|------------------------------- ![image](https://user-images.githubusercontent.com/38657976/118662732-dc988200-b80d-11eb-96f6-200a19296c92.png) | ![image](https://user-images.githubusercontent.com/38657976/118662830-efab5200-b80d-11eb-922e-14a80cfdf942.png) | ![image](https://user-images.githubusercontent.com/38657976/118662894-fdf96e00-b80d-11eb-8cb7-6ccf96a1c67b.png) | ![image](https://user-images.githubusercontent.com/38657976/118663027-179ab580-b80e-11eb-8d21-b0a6a5c20903.png) | ![image](https://user-images.githubusercontent.com/38657976/118663106-2aad8580-b80e-11eb-9dd7-e5f87b70526b.png) **DB Validations** **DB file1** | **DB file2** --------------|-------------- ![image](https://user-images.githubusercontent.com/38657976/118663261-503a8f00-b80e-11eb-9ab5-276a5b65437e.png) | ![image](https://user-images.githubusercontent.com/38657976/118663722-8972ff00-b80e-11eb-9ff0-f9e72fb2b17e.png) **Uphold Transaction list** ![image](https://user-images.githubusercontent.com/38657976/118664557-30f03180-b80f-11eb-81bf-7762065d592e.png)
Custom Tip via Uphold BAT - Recurring Tip - Confirmed `Custom tip amount` link is shown in the tipping banner - Confirmed user can enter a whole number or 2 decimal values in the BAT text box - Confirmed USD value is shown for the entered BAT value - Confirmed entered tipping amount is rounded to closest multiple of 0.25 - Confirmed user can swap the BAT and USD values (Encountered https://github.com/brave/brave-browser/issues/15908#issuecomment-842983055) - Confirmed user can send recurring custom tips and wallet balance is shown correctly - Confirmed recurring Tip appeared in the Monthly contribution dropdown in the BR panel - Confirmed recurring custom tips are shown in Monthly contributions panel, summary, BR panel, publisher info table in DB, monthly statement and brave://rewards internal pages. - Confirmed Transactions list in uphold shows the correct 5% and 95% contribution amount - Encountered and logged https://github.com/brave/brave-browser/issues/15931 **Custom Tip flow:** **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** ---------------|-----------------|----------------|----------------|----------------|----------------|----------------|---------------- ![image](https://user-images.githubusercontent.com/38657976/118666347-bc1df700-b810-11eb-9d20-e3361b7ee6d0.png) | ![image](https://user-images.githubusercontent.com/38657976/118666410-c9d37c80-b810-11eb-8033-203d4418fd2d.png) | ![image](https://user-images.githubusercontent.com/38657976/118666513-dfe13d00-b810-11eb-8cb3-d2788d169f60.png) | ![image](https://user-images.githubusercontent.com/38657976/118666587-ecfe2c00-b810-11eb-933a-bdaacdba8508.png) | ![image](https://user-images.githubusercontent.com/38657976/118666703-01dabf80-b811-11eb-9fe3-98101c01ea82.png) | ![image](https://user-images.githubusercontent.com/38657976/118666774-0ef7ae80-b811-11eb-8993-0db7d5ba786f.png) | ![image](https://user-images.githubusercontent.com/38657976/118666837-1c149d80-b811-11eb-9d79-bd62b2e8e0a6.png) | ![image](https://user-images.githubusercontent.com/38657976/118666942-33ec2180-b811-11eb-8a21-916ca6d37aa9.png) **Custom Tip display in various places:** **`Monthly contributions panel`** | **`Summary`** | **`BR panel`** | **`Monthly statement`** | **`Rewards internal page`** -----------------|-----------------|-----------------|----------------------------|------------------------------- ![image](https://user-images.githubusercontent.com/38657976/118667778-ea500680-b811-11eb-9078-07428fc7f233.png) | ![image](https://user-images.githubusercontent.com/38657976/118669186-2cc61300-b813-11eb-8c9d-ece772c21e5c.png) | ![image](https://user-images.githubusercontent.com/38657976/118669288-44050080-b813-11eb-9a0f-c63a7eef825c.png) | ![image](https://user-images.githubusercontent.com/38657976/118669427-5aab5780-b813-11eb-9245-53148391dbd3.png) | ![image](https://user-images.githubusercontent.com/38657976/118669562-7b73ad00-b813-11eb-993b-74d65bc77bd2.png) **DB Validations** **DB file1** | **DB file2** --------------|-------------- ![image](https://user-images.githubusercontent.com/38657976/118670007-defdda80-b813-11eb-9474-9a1fa6f56fa5.png) | ![image](https://user-images.githubusercontent.com/38657976/118670111-f341d780-b813-11eb-8bce-92f1eae0f964.png) **Uphold Transaction list** ![image](https://user-images.githubusercontent.com/38657976/118669884-be358500-b813-11eb-99d0-d045e519f549.png)
Custom Tip via Ad grants - One time Tip - Confirmed `Custom tip amount` link is shown in the tipping banner - Confirmed user can enter a whole number or 2 decimal values in the BAT text box - Confirmed USD value is shown for the entered BAT value - Confirmed entered tipping amount is rounded to closest multiple of 0.25 - Confirmed user can swap the BAT and USD values (Encountered https://github.com/brave/brave-browser/issues/15908#issuecomment-842983055) - Confirmed user can send one-time custom tips and wallet balance is shown correctly - Confirmed one-time custom tips are shown in Tips panel, summary, BR panel, publisher info table in DB, monthly statement and brave://rewards internal pages. - Confirmed Tokens are redeemed correctly in DB for the one time custom tip **Custom Tip flow:** **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** ---------------|-----------------|----------------|----------------|----------------|---------------- ![image](https://user-images.githubusercontent.com/38657976/118670945-aca0ad00-b814-11eb-8b79-6ba5e5a05695.png) | ![image](https://user-images.githubusercontent.com/38657976/118671435-15882500-b815-11eb-8390-43fe2c7f080a.png) | ![image](https://user-images.githubusercontent.com/38657976/118671503-25a00480-b815-11eb-8396-e0c23f55e0cb.png) | ![image](https://user-images.githubusercontent.com/38657976/118671547-32bcf380-b815-11eb-9255-e0d0862f75e3.png) | ![image](https://user-images.githubusercontent.com/38657976/118671592-3ea8b580-b815-11eb-9dc4-0c1d7d317c71.png) | ![image](https://user-images.githubusercontent.com/38657976/118671652-4b2d0e00-b815-11eb-8620-51529f06c561.png) **Custom Tip display in various places:** **`Tips panel`** | **`Summary`** | **`BR panel`** | **`Monthly statement`** | **`Rewards internal page`** -----------------|-----------------|-----------------|----------------------------|------------------------------- ![image](https://user-images.githubusercontent.com/38657976/118672030-90514000-b815-11eb-9c75-23337a28a724.png) | ![image](https://user-images.githubusercontent.com/38657976/118672376-d0b0be00-b815-11eb-8b51-3f25afbe6954.png) | ![image](https://user-images.githubusercontent.com/38657976/118672307-c393cf00-b815-11eb-875f-b0acd6995f25.png) | ![image](https://user-images.githubusercontent.com/38657976/118672523-efaf5000-b815-11eb-90ae-5f8bd94dbec5.png) | ![image](https://user-images.githubusercontent.com/38657976/118672645-09e92e00-b816-11eb-934f-7540338c0161.png) **DB Validations** **DB file1** | **DB file2** | **unblinded tokens table** --------------|--------------|---------------------------- ![image](https://user-images.githubusercontent.com/38657976/118673221-75330000-b816-11eb-8ae9-1e4d6998442a.png) | ![image](https://user-images.githubusercontent.com/38657976/118673289-824fef00-b816-11eb-9a10-b5a181d0b90e.png) | ![image](https://user-images.githubusercontent.com/38657976/118673489-ad3a4300-b816-11eb-83e1-d27a7a3f5cfa.png)
Custom Tip via Ad grants - Recurring Tip - Confirmed `Custom tip amount` link is shown in the tipping banner - Confirmed user can enter a whole number or 2 decimal values in the BAT text box - Confirmed USD value is shown for the entered BAT value - Confirmed entered tipping amount is rounded to closest multiple of 0.25 - Confirmed user can swap the BAT and USD values (Encountered https://github.com/brave/brave-browser/issues/15908#issuecomment-842983055) - Confirmed user can send recurring custom tips and wallet balance is shown correctly - Confirmed recurring Tip appeared in the Monthly contribution dropdown in the BR panel - Confirmed recurring custom tips are shown in Monthly contributions panel, summary, BR panel, publisher info table in DB, monthly statement and brave://rewards internal pages. - Confirmed Tokens are redeemed correctly in DB for the recurring custom tip - Encountered and logged https://github.com/brave/brave-browser/issues/15931 **Custom Tip flow:** **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** ---------------|-----------------|----------------|----------------|----------------|----------------|----------------|---------------- ![image](https://user-images.githubusercontent.com/38657976/118674724-a5c76980-b817-11eb-8d55-34cb0b0a68a4.png) | ![image](https://user-images.githubusercontent.com/38657976/118674812-b5df4900-b817-11eb-8d93-cd71a6a16e93.png) | ![image](https://user-images.githubusercontent.com/38657976/118674959-d5767180-b817-11eb-8ff5-51143d04014b.png) | ![image](https://user-images.githubusercontent.com/38657976/118675006-e1faca00-b817-11eb-95ee-40af7d1f9097.png) | ![image](https://user-images.githubusercontent.com/38657976/118675050-ed4df580-b817-11eb-9647-647b701f4db0.png) | ![image](https://user-images.githubusercontent.com/38657976/118675127-fb9c1180-b817-11eb-80a9-d85245e2d608.png) | ![image](https://user-images.githubusercontent.com/38657976/118675202-08b90080-b818-11eb-9600-0baafd1909e8.png) | ![image](https://user-images.githubusercontent.com/38657976/118675412-37cf7200-b818-11eb-99db-03541b26f3f4.png) **Custom Tip display in various places:** **`Monthly contributions panel`** | **`Summary`** | **`BR panel`** | **`Monthly statement`** | **`Rewards internal page`** -----------------|-----------------|-----------------|----------------------------|------------------------------- ![image](https://user-images.githubusercontent.com/38657976/118675584-559cd700-b818-11eb-82d0-25df8dbcce74.png) | ![image](https://user-images.githubusercontent.com/38657976/118675650-62212f80-b818-11eb-951c-ac1d05bcbe7d.png) | ![image](https://user-images.githubusercontent.com/38657976/118675707-706f4b80-b818-11eb-831c-f50f3228eae2.png) | ![image](https://user-images.githubusercontent.com/38657976/118675793-83821b80-b818-11eb-9bbc-ade7acc28f7a.png) | ![image](https://user-images.githubusercontent.com/38657976/118675894-98f74580-b818-11eb-91ee-270bd67f51c4.png) **DB Validations** **DB file1** | **DB file2** | **unblinded tokens table** --------------|--------------|---------------------------- ![image](https://user-images.githubusercontent.com/38657976/118676110-c2b06c80-b818-11eb-9003-2edd0f9bcefa.png) | ![image](https://user-images.githubusercontent.com/38657976/118676176-d065f200-b818-11eb-992f-52254e7a4e6e.png) | ![image](https://user-images.githubusercontent.com/38657976/118676377-fc817300-b818-11eb-8b35-a7fbbb7b7904.png)
Custom Tip UI and Tip amount less than 0.25 BAT validations - Confirmed default custom tipping UI is shown correctly as mentioned in the Figma spec https://www.figma.com/file/LX0znGgbZ6iL0qvStIwqs8/custom-tip-amount?node-id=1%3A2 - Confirmed user defined BAT is shown correctly in the Custom Amount UI - Confirmed `You are about to tip` text is shown in the pre-confirmation screen - Confirmed user defined BAT is shown correctly in the pre-confirmation screen - Confirmed click on close (X) icon in the `You are about to tip` screen closes the custom tip page - Confirmed custom tip confirmation UI is shown correctly as mentioned in the Figma spec - Confirmed user defined BAT is shown correctly in the custom tip confirmation UI - Confirmed `Tweet about your support` link is shown in the custom tip confirmation screen - Confirmed click on `Tweet about your support 'redirects to twitter login page - Confirmed ` Minimum tip amount is 0.25 BAT` message is shown in Tipping banner when user enter any value which is less than the 0.25 BAT. ![UI checks and validations_Custom tipping](https://user-images.githubusercontent.com/38657976/118680526-71a27780-b81c-11eb-9729-a0f686a19883.gif)
Custom Tip for Default tip banner pubs Confirmed custom tipping works fine for default tipping banner pubs like, reddit, github, YT, Twitter and Twitch pubs **Custom Tip flow:** **Reddit** **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** ---------------|-----------------|----------------|----------------|----------------|----------------|---------------- ![image](https://user-images.githubusercontent.com/38657976/118681807-7fa4c800-b81d-11eb-837c-d48ef3766593.png) | ![image](https://user-images.githubusercontent.com/38657976/118681853-8af7f380-b81d-11eb-9d2d-75e0b0b86daa.png) | ![image](https://user-images.githubusercontent.com/38657976/118681912-9b0fd300-b81d-11eb-9903-f0441b96a5ab.png) | ![image](https://user-images.githubusercontent.com/38657976/118682146-ce526200-b81d-11eb-8cc3-3015dfe46074.png) | ![image](https://user-images.githubusercontent.com/38657976/118682450-16718480-b81e-11eb-9302-2a3840e1fd41.png) | ![image](https://user-images.githubusercontent.com/38657976/118682497-22f5dd00-b81e-11eb-81f4-d6eaf379674e.png) | ![image](https://user-images.githubusercontent.com/38657976/118682550-2e490880-b81e-11eb-80b5-8bd68e702ce7.png) **Youtube** **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** ---------------|-----------------|----------------|----------------|----------------|----------------|---------------- ![image](https://user-images.githubusercontent.com/38657976/118683549-1cb43080-b81f-11eb-84ca-fbb455b14045.png) | ![image](https://user-images.githubusercontent.com/38657976/118683222-d363e100-b81e-11eb-9fae-677119e4f6b1.png) | ![image](https://user-images.githubusercontent.com/38657976/118683292-e4145700-b81e-11eb-965e-68d581c06efb.png) | ![image](https://user-images.githubusercontent.com/38657976/118683339-ef678280-b81e-11eb-8c86-2522fe957e52.png) | ![image](https://user-images.githubusercontent.com/38657976/118684473-df9c6e00-b81f-11eb-8e8d-087e668f58b6.png) | ![image](https://user-images.githubusercontent.com/38657976/118684527-edea8a00-b81f-11eb-895e-17337d55a6c6.png) | ![image](https://user-images.githubusercontent.com/38657976/118684582-f8a51f00-b81f-11eb-93a0-e4c5fdfee799.png) Confirmed onetime tip and monthly custom tips sent to default tipping pubs are processed and shown in Tips panel and Monthly contributions panel Tips panel | Monthly contribution panel ------------|-------------------------------- ![image](https://user-images.githubusercontent.com/38657976/118691778-09a55e80-b827-11eb-8f10-0e350fda8b9e.png) | ![image](https://user-images.githubusercontent.com/38657976/118691877-217ce280-b827-11eb-992a-2f4fd8c88b25.png) Covered onetime/recurring Tips for default tipping banner for GH/Twitter/Twitch pubs in gif file ![default tipping banner pubs](https://user-images.githubusercontent.com/38657976/118695574-fac0ab00-b82a-11eb-9d91-7504f5c00d73.gif)
Custom Tip for Custom tip banner pubs Confirmed custom tipping works fine for custom tipping banner pubs like, reddit, github, YT, Twitter and Twitch pubs **Custom Tip flow:** **YT** **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** ---------------|-----------------|----------------|----------------|---------------- ![image](https://user-images.githubusercontent.com/38657976/118696753-3b6cf400-b82c-11eb-8ada-18453207c26e.png) | ![image](https://user-images.githubusercontent.com/38657976/118696799-47f14c80-b82c-11eb-8b4c-55a67f0fc0d1.png) | ![image](https://user-images.githubusercontent.com/38657976/118696868-58a1c280-b82c-11eb-8adb-f82a92b399c7.png) | ![image](https://user-images.githubusercontent.com/38657976/118696913-66574800-b82c-11eb-9f60-59be0b8d935b.png) | ![image](https://user-images.githubusercontent.com/38657976/118696982-77a05480-b82c-11eb-948d-2025c113574a.png) **GH** **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** ---------------|-----------------|----------------|----------------|---------------- ![image](https://user-images.githubusercontent.com/38657976/118696274-c26d9c80-b82b-11eb-9a73-2e22e8750e7c.png) | ![image](https://user-images.githubusercontent.com/38657976/118696350-d44f3f80-b82b-11eb-893d-ae2a21f2a1c9.png) | ![image](https://user-images.githubusercontent.com/38657976/118696378-dd401100-b82b-11eb-8c5f-62ed90822ea5.png) | ![image](https://user-images.githubusercontent.com/38657976/118696425-eb8e2d00-b82b-11eb-95a8-5808e1ec8c00.png) | ![image](https://user-images.githubusercontent.com/38657976/118696479-f648c200-b82b-11eb-9983-a7a3f846b795.png) **Vimeo** **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** ---------------|-----------------|----------------|----------------|----------------|----------------|---------------- ![image](https://user-images.githubusercontent.com/38657976/118697277-c221d100-b82c-11eb-8609-59a7f5823de7.png) | ![image](https://user-images.githubusercontent.com/38657976/118697327-ce0d9300-b82c-11eb-8641-c2ea7aef7a49.png) | ![image](https://user-images.githubusercontent.com/38657976/118697375-d8c82800-b82c-11eb-8ea4-7dd772387f32.png) | ![image](https://user-images.githubusercontent.com/38657976/118697441-e8e00780-b82c-11eb-9444-56863a5d782c.png) | ![image](https://user-images.githubusercontent.com/38657976/118697494-f8f7e700-b82c-11eb-9356-b6688bd8ffbf.png) | ![image](https://user-images.githubusercontent.com/38657976/118697532-04e3a900-b82d-11eb-90b8-832c3ccbc8d4.png) | ![image](https://user-images.githubusercontent.com/38657976/118697622-1f1d8700-b82d-11eb-9bee-4495e37400c3.png) Confirmed onetime tip and monthly custom tips sent to default tipping pubs are processed and shown in Tips panel and Monthly contributions panel Tips panel | Monthly contribution panel ------------|-------------------------------- ![image](https://user-images.githubusercontent.com/38657976/118699063-b9ca9580-b82e-11eb-86bf-aaef81877503.png) | ![image](https://user-images.githubusercontent.com/38657976/118699103-c7801b00-b82e-11eb-8388-29256eac1dca.png) Covered onetime/recurring Tips for custom tipping banner for Reddit/Twitter/Twitch pubs in gif file ![Custom tipping banner pubs](https://user-images.githubusercontent.com/38657976/118699240-eda5bb00-b82e-11eb-99de-8b0965fbe998.gif)
Custom Tip for Unverified pubs - Confirmed custom tip amount are shown for unverified pubs also - Confirmed one-time custom tips sent to unverified pubs are sent to the pending contribution table - Confirmed recurring custom tips sent to unverified pubs are sent to the pending contribution table ![image](https://user-images.githubusercontent.com/38657976/118694023-3fe3dd80-b829-11eb-99fd-b81623908652.png)
Custom Tip for upgrade profile - Installed 1.24.x and send one-time tips to few verified pubs - Setup recurring tips for few verified pubs - Upgraded the profile to 1.25.x - Confirmed new UI for Custom tip amounts are shown in tipping banner after upgrade - Confirmed recurring tip which is setup in 1.24.x is shown in the Monthly contribution dropdown for the pubs - Confirmed recurring tip can be changed via custom recurring tipping amount - Confirmed changed recurring tip is processed and shown in the summary, BR panel, monthly statement and rewards internal page - Confirmed custom tips works fine for existing pubs in an upgraded profile - Confirmed custom tips one-time/recurring works fine for new pubs in an upgraded profile Added gif for upgrade profile verifications ![Upgrade case_1 24 x](https://user-images.githubusercontent.com/38657976/118706589-2c3f7380-b837-11eb-9099-6a194d7ef3ac.gif) ![Upgrade case_1 25 x](https://user-images.githubusercontent.com/38657976/118706597-2ea1cd80-b837-11eb-87fa-bfb832b46ba4.gif)
Custom tip via Inline Tip **via Github Inline Tip** - Confirmed click on Inline Tip for GH pubs navigated to custom tipping new UI - Confirmed custom tipping onetime/recurring works as expected **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** ---------------|-----------------|----------------|----------------|----------------|----------------|---------------- ![image](https://user-images.githubusercontent.com/38657976/118700170-006cbf80-b830-11eb-84f6-698cb132a468.png) | ![image](https://user-images.githubusercontent.com/38657976/118700502-5e99a280-b830-11eb-93a3-3fbd289fe739.png) | ![image](https://user-images.githubusercontent.com/38657976/118700554-6eb18200-b830-11eb-9832-7487381665ff.png) | ![image](https://user-images.githubusercontent.com/38657976/118700600-796c1700-b830-11eb-80df-167c239d5663.png) | ![image](https://user-images.githubusercontent.com/38657976/118700651-87ba3300-b830-11eb-9448-51388a663040.png) | ![image](https://user-images.githubusercontent.com/38657976/118700768-a3bdd480-b830-11eb-99bf-f8f7f4e463ca.png) | ![image](https://user-images.githubusercontent.com/38657976/118700829-afa99680-b830-11eb-80f9-86a0fa8e1fbe.png) **via Reddit Inline Tip** - Confirmed click on Inline Tip for GH pubs navigated to custom tipping new UI - Confirmed custom tipping onetime/recurring works as expected **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** | **`Example`** ---------------|-----------------|----------------|----------------|----------------|----------------|---------------- ![image](https://user-images.githubusercontent.com/38657976/118700993-d962bd80-b830-11eb-9475-16b1ee974cbf.png) | ![image](https://user-images.githubusercontent.com/38657976/118701052-ec758d80-b830-11eb-88f2-14bd23f502a5.png) | ![image](https://user-images.githubusercontent.com/38657976/118702092-1b403380-b832-11eb-8eba-6fded2f48869.png) | ![image](https://user-images.githubusercontent.com/38657976/118702122-25fac880-b832-11eb-9b74-26e328650600.png) | ![image](https://user-images.githubusercontent.com/38657976/118702185-3ad75c00-b832-11eb-98b5-04e58395d278.png) | ![image](https://user-images.githubusercontent.com/38657976/118702221-4591f100-b832-11eb-9f39-b7850e3c2fe8.png) | ![image](https://user-images.githubusercontent.com/38657976/118702258-53e00d00-b832-11eb-9d0d-2efe73cc9d49.png) Confirmed onetime tip and monthly custom tips sent to via Inline Tip button are processed and shown in Tips panel and Monthly contributions panel Tips panel | Monthly contribution panel ------------|-------------------------------- ![image](https://user-images.githubusercontent.com/38657976/118702664-d5d03600-b832-11eb-90b4-bc4d0d3fd695.png) | ![image](https://user-images.githubusercontent.com/38657976/118702727-ec768d00-b832-11eb-8737-fc5d8dca8854.png)

Verified passed with

Brave   1.25.62 Chromium: 90.0.4430.212 (Official Build) beta (x86_64)
Revision    e3cd97fc771b893b7fd1879196d1215b622c2bed-refs/branch-heads/4430@{#1429}
OS  macOS Version 10.15.7 (Build 19H1030)

Issues encountered while testing:

General Functionality - Confirmed `Custom tip amount` link is shown in the tipping banner for unverified, connected, and verified creators Unverified | Connected | Verified ----- | ----- | ----- G1 | G3 | G5 G1a | G3a | G5a G2 | G4 | G6 G2a | G4a | G6a Confirmed user can enter a value for BAT Confirmed USD value is shown for the entered BAT value Confirmed value is truncated to 2 decimal places once focus leaves the field Confirmed entered tipping amount is rounded down to closest multiple of 0.25 Confirmed able to switch between entering BAT and USD Confirmed BAT value is shown for the entered USD value Note - encountered #15908 here Confirmed able to send or cancel custom tip Example - entering BAT | Example - truncation | Example - switching | Example - confirmation ----- | ----- | ----- | ----- E1 | E2 | E3 | E4 Confirmed "minimum amount" messaging is shown when user attempt to tip less than .25 BAT Confirmed insufficient balance messaging Example - minimum | Example - insufficient ----- | ----- E5 | E6
Scenario 1 - Rewards BAT, One time tip Confirmed able to do a custom one time tip with anon wallet funded by Rewards BAT. Tip banner | Banner success message | Tips brave://rewards | wallet summary | Monthly Statement | brave://rewards-internals | database ----- | ----- | ----- | ----- | ----- | ----- | ----- 1a | 1b | 1c | 1d | 1e | 1f | 1g Confirmed logs showed expected information ``` [23549:775:0518/125235.941547:VERBOSE1:contribution.cc(373)] Creating contribution for wallet type blinded (amount: 4.25, type: RewardsType::ONE_TIME_TIP) [23549:775:0518/125235.947062:VERBOSE1:contribution.cc(90)] Queue timer set for 10 s [23549:775:0518/125235.954857:VERBOSE5:ledger_impl.cc(144)] [ REQUEST ] > URL: https://grant.rewards.bravesoftware.com/v1/suggestions > Method: UrlMethod::POST > Content: {"credentials":[{"publicKey":"6AphTv............. > Content Type: application/json; charset=utf-8 [23549:775:0518/125236.220825:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://grant.rewards.bravesoftware.com/v1/suggestions > Result: Success > HTTP Code: 200 > Body: ```
Scenario 2 - Rewards BAT, Monthly tip Confirmed able to do a custom monthly tip with anon wallet funded by Rewards BAT Tip banner | Banner success message | Rewards panel | Monthly Tips brave://rewards | wallet summary | Monthly Statement | brave://rewards-internals | database ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- 2a | 2b | 2c | 2d | 2e | 2f | 2g | 2h Confirmed logs showed expected information ``` [24036:775:0518/133154.857589:VERBOSE1:contribution.cc(373)] Creating contribution for wallet type blinded (amount: 3.75, type: RewardsType::RECURRING_TIP) [24036:775:0518/133154.869471:VERBOSE1:contribution.cc(90)] Queue timer set for 31 s [24036:775:0518/133154.878949:VERBOSE5:ledger_impl.cc(144)] [ REQUEST ] > URL: https://grant.rewards.bravesoftware.com/v1/suggestions > Method: UrlMethod::POST > Content: {"credentials":[{"publicKey":"6AphTvx................ > Content Type: application/json; charset=utf-8 [24036:775:0518/133155.225811:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://grant.rewards.bravesoftware.com/v1/suggestions > Result: Success > HTTP Code: 200 > Body: ```
Scenario 3 - Uphold BAT, One time tip Confirmed able to do a custom one time tip with KYC Uphold wallet funded by Uphold BAT. Tip banner | Banner success message | Tips brave://rewards | wallet summary | Monthly Statement | brave://rewards-internals | database ----- | ----- | ----- | ----- | ----- | ----- | ----- 3a | 3b | 3c | 3d | 3e | 3f | 3g Confirmed logs showed expected information for tip and fee ``` [24218:775:0518/134217.802182:VERBOSE1:contribution.cc(373)] Creating contribution for wallet type uphold (amount: 2.25, type: RewardsType::ONE_TIME_TIP) [24218:775:0518/134217.806751:VERBOSE1:contribution.cc(90)] Queue timer set for 22 s [24218:775:0518/134217.809572:VERBOSE5:ledger_impl.cc(144)] [ REQUEST ] > URL: https://api-sandbox.uphold.com/v0/me/cards/............./transactions > Method: UrlMethod::POST > Content: {"denomination":{"amount":"2.137500","currency":"BAT"},"destination":"........","message":""} > Content Type: application/json; charset=utf-8 [24218:775:0518/134217.983672:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://api-sandbox.uphold.com/v0/me/cards/........./transactions > Result: Success > HTTP Code: 202 > Body: {"createdAt":"2021-05-18T17:42:17.941Z","denomination":{"amount":"2.1375","currency":"BAT"......... [ REQUEST ] > URL: https://api-sandbox.uphold.com/v0/me/cards/....../transactions/......../commit > Method: UrlMethod::POST > Content Type: application/json; charset=utf-8 [24218:775:0518/134218.538789:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://api-sandbox.uphold.com/v0/me/cards/....../transactions/........./commit > Result: Success > HTTP Code: 200 > Body: {"application":{"clientId":"4c2b6........... [24218:775:0518/134218.539678:VERBOSE1:uphold.cc(247)] Uphold transfer fee timer set for 21 s ``` ``` [ REQUEST ] > URL: https://api-sandbox.uphold.com/v0/me/cards/......../transactions > Method: UrlMethod::POST > Content: {"denomination":{"amount":"0.112500","currency":"BAT"},"destination":"......","message":"5% transaction fee collected by Brave Software International"} > Content Type: application/json; charset=utf-8 [24218:775:0518/134239.670132:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://api-sandbox.uphold.com/v0/me/cards/........./transactions > Result: Success > HTTP Code: 202 > Body: {"createdAt":"2021-05-18T17:42:39.635Z","denomination":{"amount":"0.1125","currency":"BAT"....... [ REQUEST ] > URL: https://api-sandbox.uphold.com/v0/me/cards/....../transactions/.........../commit > Method: UrlMethod::POST > Content Type: application/json; charset=utf-8 [24218:775:0518/134240.043865:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://api-sandbox.uphold.com/v0/me/cards/....../transactions/............/commit > Result: Success > HTTP Code: 200 > Body: {"application":{"clientId":"4c2.......... ```
Scenario 4 - Uphold BAT, Monthly tip Confirmed able to do a custom monthly tip with KYC Uphold wallet funded by Uphold BAT Tip banner | Banner success message | Rewards panel | Monthly Tips brave://rewards | wallet summary | Monthly Statement | brave://rewards-internals | database ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- 4a | 4b | 4c | 4d | 4e | 4f | 4g | 4h Confirmed logs showed expected information for tip and fee ``` [24896:775:0518/160200.399439:VERBOSE1:contribution.cc(373)] Creating contribution for wallet type uphold (amount: 1.75, type: RewardsType::RECURRING_TIP) [24896:775:0518/160200.405157:VERBOSE1:contribution.cc(90)] Queue timer set for 27 s [24896:775:0518/160200.408216:VERBOSE5:ledger_impl.cc(144)] [ REQUEST ] > URL: https://api-sandbox.uphold.com/v0/me/cards/......../transactions > Method: UrlMethod::POST > Content: {"denomination":{"amount":"1.662500","currency":"BAT"},"destination":"......","message":""} > Content Type: application/json; charset=utf-8 [24896:775:0518/160200.533531:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://api-sandbox.uphold.com/v0/me/cards/........./transactions > Result: Success > HTTP Code: 202 > Body: {"createdAt":"2021-05-18T20:02:00.495Z","denomination":{"amount":"1.6625","currency":"BAT"......... [24896:775:0518/160200.535006:VERBOSE5:ledger_impl.cc(144)] [ REQUEST ] > URL: https://api-sandbox.uphold.com/v0/me/cards/....../transactions/........./commit > Method: UrlMethod::POST > Content Type: application/json; charset=utf-8 [24896:775:0518/160200.871733:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://api-sandbox.uphold.com/v0/me/cards/......./transactions/......./commit > Result: Success > HTTP Code: 200 > Body: {"application":{"clientId":"4c........ [24896:775:0518/160200.872756:VERBOSE1:uphold.cc(247)] Uphold transfer fee timer set for 65 s ``` ``` [ REQUEST ] > URL: https://api-sandbox.uphold.com/v0/me/cards/........./transactions > Method: UrlMethod::POST > Content: {"denomination":{"amount":"0.087500","currency":"BAT"},"destination":".......","message":"5% transaction fee collected by Brave Software International"} > Content Type: application/json; charset=utf-8 [24896:775:0518/160306.301704:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://api-sandbox.uphold.com/v0/me/cards/......../transactions > Result: Success > HTTP Code: 202 > Body: {"createdAt":"2021-05-18T20:03:06.112Z","denomination":{"amount":"0.0875","currency":"BAT"......... [ REQUEST ] > URL: https://api-sandbox.uphold.com/v0/me/cards/....../transactions/........./commit > Method: UrlMethod::POST > Content Type: application/json; charset=utf-8 [24896:775:0518/160306.589948:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://api-sandbox.uphold.com/v0/me/cards/....../transactions/........./commit > Result: Success > HTTP Code: 200 > Body: {"application":{"clientId":"4c2............ ```
Scenario 5 - bitFlyer BAT, One time tip Confirmed able to do a custom one time tip with KYC bitFlyer wallet funded by bitFlyer BAT. Tip banner | Banner success message | Tips brave://rewards | wallet summary | Monthly Statement | brave://rewards-internals | database ----- | ----- | ----- | ----- | ----- | ----- | ----- 5a | 5b | 5c | 5d | 5e | 5f | 5g Confirmed logs showed expected information for tip and fee ``` [25190:775:0518/163237.876485:VERBOSE1:contribution.cc(373)] Creating contribution for wallet type bitflyer (amount: 4.25, type: RewardsType::ONE_TIME_TIP) [25190:775:0518/163237.880859:VERBOSE1:contribution.cc(90)] Queue timer set for 4 s [25190:775:0518/163237.882399:VERBOSE1:database_server_publisher_banner.cc(142)] Server publisher banner not found [25190:775:0518/163237.884017:VERBOSE5:ledger_impl.cc(144)] [ REQUEST ] > URL: https://demo24kiuw4dcyncsy3qlud8u8.azurewebsites.net/api/link/v1/coin/withdraw-to-deposit-id/request > Method: UrlMethod::POST > Content: {"amount":"4.037500","currency_code":"BAT",.......... > Content Type: application/json; charset=utf-8 [25190:775:0518/163238.886171:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://demo24kiuw4dcyncsy3qlud8u8.azurewebsites.net/api/link/v1/coin/withdraw-to-deposit-id/request > Result: Success > HTTP Code: 200 > Body: {............... } [25190:775:0518/163238.887081:VERBOSE1:bitflyer.cc(208)] Bitflyer transfer fee timer set for 1 s ``` ``` [ REQUEST ] > URL: https://demo24kiuw4dcyncsy3qlud8u8.azurewebsites.net/api/link/v1/coin/withdraw-to-deposit-id/request > Method: UrlMethod::POST > Content: {"amount":"0.212500","currency_code":"BAT"......... > Content Type: application/json; charset=utf-8 [25190:775:0518/163240.642929:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://demo24kiuw4dcyncsy3qlud8u8.azurewebsites.net/api/link/v1/coin/withdraw-to-deposit-id/request > Result: Success > HTTP Code: 200 > Body: {............ } ```
Scenario 6 - bitFlyer BAT, Monthly tip Confirmed able to do a custom monthly tip with KYC bitFlyer wallet funded by bitFlyer BAT Tip banner | Banner success message | Rewards panel | Monthly Tips brave://rewards | wallet summary | Monthly Statement | brave://rewards-internals | database ----- | ----- | ----- | ----- | ----- | ----- | ----- | ----- 6a | 6b | 6c | 6d | 6e | 6f | 6g | 6h Confirmed logs showed expected information for tip and fee ``` [25361:775:0518/164457.521375:VERBOSE1:contribution.cc(373)] Creating contribution for wallet type bitflyer (amount: 3.75, type: RewardsType::RECURRING_TIP) [25361:775:0518/164457.526511:VERBOSE1:contribution.cc(90)] Queue timer set for 36 s [25361:775:0518/164457.528018:VERBOSE1:database_server_publisher_banner.cc(142)] Server publisher banner not found [25361:775:0518/164457.529662:VERBOSE5:ledger_impl.cc(144)] [ REQUEST ] > URL: https://demo24kiuw4dcyncsy3qlud8u8.azurewebsites.net/api/link/v1/coin/withdraw-to-deposit-id/request > Method: UrlMethod::POST > Content: {"amount":"3.562500","currency_code":"BAT"............. > Content Type: application/json; charset=utf-8 [25361:775:0518/164458.599681:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://demo24kiuw4dcyncsy3qlud8u8.azurewebsites.net/api/link/v1/coin/withdraw-to-deposit-id/request > Result: Success > HTTP Code: 200 > Body:............ } [25361:775:0518/164458.600559:VERBOSE1:bitflyer.cc(208)] Bitflyer transfer fee timer set for 57 s ``` ``` [ REQUEST ] > URL: https://demo24kiuw4dcyncsy3qlud8u8.azurewebsites.net/api/link/v1/coin/withdraw-to-deposit-id/request > Method: UrlMethod::POST > Content: {"amount":"0.187500","currency_code":"BAT"............... > Content Type: application/json; charset=utf-8 [25361:775:0518/164556.629199:VERBOSE1:ads_impl.cc(191)] Browser state changed to idle [25361:775:0518/164556.660115:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://demo24kiuw4dcyncsy3qlud8u8.azurewebsites.net/api/link/v1/coin/withdraw-to-deposit-id/request > Result: Success > HTTP Code: 200 > Body:............. ```
Scenario 7 - Confirm custom tipping works from in-line tip button `Twitter` Tip banner | Banner success message | Tips brave://rewards | wallet summary | Monthly Statement | brave://rewards-internals ----- | ----- | ----- | ----- | ----- | ----- T1 | T2 | T3 | T4 | T5 | T6 `Reddit` Tip banner | Banner success message | Tips brave://rewards | wallet summary | Monthly Statement | brave://rewards-internals ----- | ----- | ----- | ----- | ----- | ----- R1 | R2 | R3 | R4 | R5 | R6 `GitHub` Tip banner | Banner success message | Tips brave://rewards | wallet summary | Monthly Statement | brave://rewards-internals ----- | ----- | ----- | ----- | ----- | ----- H1 | H2 | H3 | H4 | H5 | H6

Verification passed on

Brave 1.25.66 Chromium: 91.0.4472.70 (Official Build) (64-bit)
Revision fe095368270a32c92959403754bf6fd357dd9953-refs/branch-heads/4472@{#1172}
OS Ubuntu 18.04 LTS

Issues encountered while testing:

General Functionality - Confirmed `Custom tip amount` link is shown in the tipping banner for unverified, connected, and verified creators Unverified | Connected | Verified ----- | ----- | ----- ![image](https://user-images.githubusercontent.com/34715963/119544293-d9fbd680-bd91-11eb-85a1-2eae99ee65c1.png)|![image](https://user-images.githubusercontent.com/34715963/119544769-57274b80-bd92-11eb-9629-0bc1a8a23514.png)|![image](https://user-images.githubusercontent.com/34715963/119544867-71f9c000-bd92-11eb-9d18-943ffccd3a76.png) ![image](https://user-images.githubusercontent.com/34715963/119544517-13344680-bd92-11eb-88a4-495403a1399a.png)|![image](https://user-images.githubusercontent.com/34715963/119544797-5ee6f000-bd92-11eb-8248-659998fd1088.png)|![image](https://user-images.githubusercontent.com/34715963/119547367-5348f880-bd95-11eb-9bb6-b3192471ca45.png) ![image](https://user-images.githubusercontent.com/34715963/119544620-2b0bca80-bd92-11eb-9958-f7e3f1b18512.png)|![image](https://user-images.githubusercontent.com/34715963/119544843-6c9c7580-bd92-11eb-9965-6240a6ea46f5.png)|![image](https://user-images.githubusercontent.com/34715963/119547387-593ed980-bd95-11eb-8afb-cd91d10dee36.png) ![image](https://user-images.githubusercontent.com/34715963/119544655-352dc900-bd92-11eb-8a76-39ca98193df3.png)|![image](https://user-images.githubusercontent.com/34715963/119544867-71f9c000-bd92-11eb-9d18-943ffccd3a76.png)|![image](https://user-images.githubusercontent.com/34715963/119547406-5f34ba80-bd95-11eb-8ab9-787aec52da16.png) Confirmed user can enter a value for BAT Confirmed USD value is shown for the entered BAT value Confirmed value is truncated to 2 decimal places once focus leaves the field Confirmed entered tipping amount is rounded down to closest multiple of 0.25 Confirmed able to switch between entering BAT and USD Confirmed BAT value is shown for the entered USD value Note - encountered #15908 here Confirmed able to send or cancel custom tip Confirmed "minimum amount" messaging is shown when user attempt to tip less than .25 BAT Confirmed insufficient balance messaging Example - minimum | Example - insufficient ----- | ----- ![image](https://user-images.githubusercontent.com/34715963/119547631-a458ec80-bd95-11eb-97fa-e21883357fd9.png)|![image](https://user-images.githubusercontent.com/34715963/119547775-ce121380-bd95-11eb-901a-3a521b256138.png)
Scenario 1 - Rewards BAT, One time tip Confirmed able to do a custom one time tip with anon wallet funded by Rewards BAT. ![image](https://user-images.githubusercontent.com/34715963/119547929-fac62b00-bd95-11eb-97dd-78ccda32e139.png)|![image](https://user-images.githubusercontent.com/34715963/119547991-0b76a100-bd96-11eb-96ed-128753e1f9eb.png)|![image](https://user-images.githubusercontent.com/34715963/119548016-116c8200-bd96-11eb-88de-981f1fb94655.png)|![image](https://user-images.githubusercontent.com/34715963/119548112-2b0dc980-bd96-11eb-8cb9-523acfeb23a1.png)|![image](https://user-images.githubusercontent.com/34715963/119548171-395be580-bd96-11eb-9a29-67c2bcca151b.png)|![image](https://user-images.githubusercontent.com/34715963/119548224-44af1100-bd96-11eb-8742-0b44a3ca3edd.png)|![image](https://user-images.githubusercontent.com/34715963/119548596-aa030200-bd96-11eb-98c3-63ad8d06a79f.png) --|--|--|--|--|--|-- Confirmed logs showed expected information ``` [26630:26630:0525/201619.987980:VERBOSE1:contribution.cc(373)] Creating contribution for wallet type blinded (amount: 1.25, type: ONE_TIME_TIP) [26630:26630:0525/201620.001518:VERBOSE1:contribution.cc(90)] Queue timer set for 0 s [26630:26630:0525/201620.047694:VERBOSE5:ledger_impl.cc(145)] [ REQUEST ] > URL: https://grant.rewards.bravesoftware.com/v1/suggestions > Method: POST > Content: {"credentials":[{"publicKey": > Content Type: application/json; charset=utf-8 [26630:26630:0525/201620.783344:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://grant.rewards.bravesoftware.com/v1/suggestions > Result: Success > HTTP Code: 200 ```
Scenario 2 - Rewards BAT, Monthly tip Confirmed able to do a custom monthly tip with anon wallet funded by Rewards BAT ![image](https://user-images.githubusercontent.com/34715963/119555877-a6737900-bd9e-11eb-9aaf-03c94d9b9ec6.png)|![image](https://user-images.githubusercontent.com/34715963/119555914-aecbb400-bd9e-11eb-80dc-460727f65c33.png)|![image](https://user-images.githubusercontent.com/34715963/119555948-b55a2b80-bd9e-11eb-93df-c06532f36d97.png)|![image](https://user-images.githubusercontent.com/34715963/119556059-d91d7180-bd9e-11eb-852a-6ce781f59f3e.png)|![image](https://user-images.githubusercontent.com/34715963/119556174-f5211300-bd9e-11eb-98bc-6ca2d4c75ae7.png)|![image](https://user-images.githubusercontent.com/34715963/119556210-036f2f00-bd9f-11eb-916c-5b00664b3784.png)|![image](https://user-images.githubusercontent.com/34715963/119556247-0d912d80-bd9f-11eb-9b82-a51e50c10c3f.png) --|--|--|--|--|--|-- Confirmed logs showed expected information ``` [29164:29164:0525/211932.251514:VERBOSE1:contribution.cc(373)] Creating contribution for wallet type blinded (amount: 4.25, type: RECURRING_TIP) [29164:29164:0525/211932.260614:VERBOSE1:contribution.cc(90)] Queue timer set for 0 s [29164:29164:0525/211932.273926:VERBOSE5:ledger_impl.cc(145)] [ REQUEST ] > URL: https://grant.rewards.bravesoftware.com/v1/suggestions > Method: POST > Content: {"credentials":[{"publicKey":"6AphTvx13IgxVRG1nljV2ql1Y7 > Content Type: application/json; charset=utf-8 [29164:29164:0525/211932.990214:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://grant.rewards.bravesoftware.com/v1/suggestions > Result: Success > HTTP Code: 200 > Body: ```
Scenario 3 - Uphold BAT, One time tip Confirmed able to do a custom one time tip with KYC Uphold wallet funded by Uphold BAT. ![image](https://user-images.githubusercontent.com/34715963/119560003-af1a7e00-bda3-11eb-92e5-5a4ffbf9eced.png)|![image](https://user-images.githubusercontent.com/34715963/119560030-b6418c00-bda3-11eb-82c1-fd77e760d3a5.png)|![image](https://user-images.githubusercontent.com/34715963/119560052-be013080-bda3-11eb-965f-ae03db5d56c0.png)|![image](https://user-images.githubusercontent.com/34715963/119560085-cc4f4c80-bda3-11eb-8364-ea970edb81ee.png)|![image](https://user-images.githubusercontent.com/34715963/119560137-d7a27800-bda3-11eb-9eac-3f57d9d89a74.png)|![image](https://user-images.githubusercontent.com/34715963/119560166-dffab300-bda3-11eb-8cbf-49951a17dd23.png) --|--|--|--|--|-- Confirmed logs showed expected information for tip and fee ``` [31127:31127:0525/215413.700410:VERBOSE1:contribution.cc(373)] Creating contribution for wallet type uphold (amount: 1, type: ONE_TIME_TIP) [31127:31127:0525/215413.708626:VERBOSE1:contribution.cc(90)] Queue timer set for 3 s [31127:31127:0525/215413.710875:VERBOSE5:ledger_impl.cc(145)] [ REQUEST ] > URL: https://api-sandbox.uphold.com/v0/me/cards/fbd1546c-6706-4267-9e6c-3eda44945283/transactions > Method: POST > Content: {"denomination":{"amount":"0.950000","currency":"BAT"},"destination":"4ba86766-df8c-48f1-8bc5-35f3bbe1675f","message":""} > Content Type: application/json; charset=utf-8 [31127:31127:0525/215414.371555:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://api-sandbox.uphold.com/v0/me/cards/fbd1546c-6706-4267-9e6c-3eda44945283/transactions > Result: Success > HTTP Code: 202 ``` ``` [31127:31127:0525/215423.741886:VERBOSE5:ledger_impl.cc(145)] [ REQUEST ] > URL: https://api-sandbox.uphold.com/v0/me/cards/fbd1546c-6706-4267-9e6c-3eda44945283/transactions > Method: POST > Content: {"denomination":{"amount":"0.050000","currency":"BAT"},"destination":"1b2b466f-5c15-49bf-995e-c91777d3da93","message":"5% transaction fee collected by Brave Software International"} > Content Type: application/json; charset=utf-8 [31127:31127:0525/215424.023803:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://api-sandbox.uphold.com/v0/me/cards/fbd1546c-6706-4267-9e6c-3eda44945283/transactions > Result: Success > HTTP Code: 202 ```
Scenario 4 - Uphold BAT, Monthly tip Confirmed able to do a custom monthly tip with KYC Uphold wallet funded by Uphold BAT ![image](https://user-images.githubusercontent.com/34715963/119572094-8948a580-bdb2-11eb-8338-476d6e193427.png)|![image](https://user-images.githubusercontent.com/34715963/119572112-8d74c300-bdb2-11eb-9e66-bef99ec59a94.png)|![image](https://user-images.githubusercontent.com/34715963/119572123-92d20d80-bdb2-11eb-98bd-ef8c19ea84c8.png)|![image](https://user-images.githubusercontent.com/34715963/119572491-1db30800-bdb3-11eb-9de0-23ddc177239b.png)|![image](https://user-images.githubusercontent.com/34715963/119572543-34595f00-bdb3-11eb-9c19-c3c0026ece25.png)|![image](https://user-images.githubusercontent.com/34715963/119572592-45a26b80-bdb3-11eb-8e0f-06c5d457a68a.png) --|--|--|--|--|-- Confirmed logs showed expected information for tip and fee ``` [967:967:0525/234326.461972:VERBOSE1:contribution.cc(373)] Creating contribution for wallet type uphold (amount: 1, type: RECURRING_TIP) [967:967:0525/234326.470747:VERBOSE1:contribution.cc(90)] Queue timer set for 0 s [967:967:0525/234326.474997:VERBOSE5:ledger_impl.cc(145)] [ REQUEST ] > URL: https://api-sandbox.uphold.com/v0/me/cards/fbd1546c-6706-4267-9e6c-3eda44945283/transactions > Method: POST > Content: {"denomination":{"amount":"0.950000","currency":"BAT"},"destination":"4ba86766-df8c-48f1-8bc5-35f3bbe1675f","message":""} > Content Type: application/json; charset=utf-8 [967:967:0525/234327.078221:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://api-sandbox.uphold.com/v0/me/cards/fbd1546c-6706-4267-9e6c-3eda44945283/transactions > Result: Success > HTTP Code: 202 ``` ``` [ REQUEST ] [967:967:0525/234439.618515:VERBOSE5:ledger_impl.cc(145)] [ REQUEST ] > URL: https://api-sandbox.uphold.com/v0/me/cards/fbd1546c-6706-4267-9e6c-3eda44945283/transactions > Method: POST > Content: {"denomination":{"amount":"0.050000","currency":"BAT"},"destination":"1b2b466f-5c15-49bf-995e-c91777d3da93","message":"5% transaction fee collected by Brave Software International"} > Content Type: application/json; charset=utf-8 [967:967:0525/234440.347736:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://api-sandbox.uphold.com/v0/me/cards/fbd1546c-6706-4267-9e6c-3eda44945283/transactions > Result: Success > HTTP Code: 202 ```
Scenario 5 - bitFlyer BAT, One time tip Confirmed able to do a custom one time tip with KYC bitFlyer wallet funded by bitFlyer BAT. ![image](https://user-images.githubusercontent.com/34715963/119573244-4687cd00-bdb4-11eb-8c98-5ca63c7f38b4.png)|![image](https://user-images.githubusercontent.com/34715963/119573269-4e477180-bdb4-11eb-89a3-6e4729d8c16d.png)|![image](https://user-images.githubusercontent.com/34715963/119573304-58697000-bdb4-11eb-99a7-49a610753b99.png)|![image](https://user-images.githubusercontent.com/34715963/119573341-64edc880-bdb4-11eb-9709-deb7ac36aa80.png)|![image](https://user-images.githubusercontent.com/34715963/119573376-70d98a80-bdb4-11eb-9f3d-628bca08d91d.png) --|--|--|--|-- Confirmed logs showed expected information for tip and fee ``` [1797:1797:0525/235249.625935:VERBOSE1:contribution.cc(373)] Creating contribution for wallet type bitflyer (amount: 2.5, type: ONE_TIME_TIP) [1797:1797:0525/235249.649020:VERBOSE1:contribution.cc(90)] Queue timer set for 28 s [1797:1797:0525/235249.649894:VERBOSE1:database_server_publisher_banner.cc(142)] Server publisher banner not found [1797:1797:0525/235249.653325:VERBOSE5:ledger_impl.cc(145)] [ REQUEST ] > URL: https://demo24kiuw4dcyncsy3qlud8u8.azurewebsites.net/api/link/v1/coin/withdraw-to-deposit-id/request > Method: POST > Content: {"amount":"2.375000","currency_code":"BAT","deposit_id":"1a28d5f0-0762-4c69-b9c7-fdab168a3840","dry_run":false,"transfer_id":"0adfbb36-ddbe-4f8c-af99-363da6e0a82f"} > Content Type: application/json; charset=utf-8 [1797:1797:0525/235256.651960:ERROR:CONSOLE(1)] "[Shields]: Can't request shields panel data. Error: No tab url specified", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/out/brave_extension_background.bundle.js (1) [1797:1797:0525/235256.656835:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Tabs cannot be edited right now (user may be dragging a tab).", source: chrome-extension://jidkidbbcafjabdphckchenhfomhnfma/_generated_background_page.html (0) [1797:1797:0525/235256.657821:ERROR:CONSOLE(0)] "Unchecked runtime.lastError: Tabs cannot be edited right now (user may be dragging a tab).", source: chrome-extension://mnojpmjdmbbfmejpflffifhffcmidifd/_generated_background_page.html (0) [1797:1797:0525/235259.052772:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://demo24kiuw4dcyncsy3qlud8u8.azurewebsites.net/api/link/v1/coin/withdraw-to-deposit-id/request > Result: Success > HTTP Code: 200 ``` ``` [1797:1797:0525/235309.978039:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://demo24kiuw4dcyncsy3qlud8u8.azurewebsites.net/api/link/v1/coin/withdraw-to-deposit-id/request > Result: Success > HTTP Code: 200 > Body: { "dry_run": false, "currency_code": "BAT", "amount": 0.125000, "message": null, "transfer_status": "SUCCESS", "transfer_id": "72e0d6d6-c427-4650-9548-35f71f605eb7" } ```
Scenario 6 - bitFlyer BAT, Monthly tip Confirmed able to do a custom monthly tip with KYC bitFlyer wallet funded by bitFlyer BAT ![image](https://user-images.githubusercontent.com/34715963/119574151-8bf8ca00-bdb5-11eb-9f35-717eab3605a1.png)|![image](https://user-images.githubusercontent.com/34715963/119574162-90bd7e00-bdb5-11eb-86fe-a36f06c7cdc7.png)|![image](https://user-images.githubusercontent.com/34715963/119574174-94e99b80-bdb5-11eb-8f02-46c090d41107.png)|![image](https://user-images.githubusercontent.com/34715963/119574620-0aee0280-bdb6-11eb-9958-e8ed99e6b111.png)|![image](https://user-images.githubusercontent.com/34715963/119574651-14776a80-bdb6-11eb-8121-cce053e7d213.png) --|--|--|--|-- Confirmed logs showed expected information for tip and fee ``` [2812:2812:0526/000505.481096:VERBOSE1:contribution.cc(373)] Creating contribution for wallet type bitflyer (amount: 3.5, type: RECURRING_TIP) [2812:2812:0526/000505.489104:VERBOSE1:contribution.cc(90)] Queue timer set for 1 s [2812:2812:0526/000505.489817:VERBOSE1:database_server_publisher_banner.cc(142)] Server publisher banner not found [2812:2812:0526/000505.490634:VERBOSE5:ledger_impl.cc(145)] [ REQUEST ] > URL: https://demo24kiuw4dcyncsy3qlud8u8.azurewebsites.net/api/link/v1/coin/withdraw-to-deposit-id/request > Method: POST > Content: {"amount":"3.325000","currency_code":"BAT","deposit_id":"1a28d5f0-0762-4c69-b9c7-fdab168a3840","dry_run":false,"transfer_id":"c50d043e-6c39-43c1-834e-30437524669e"} > Content Type: application/json; charset=utf-8 [2812:2812:0526/000506.509355:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://demo24kiuw4dcyncsy3qlud8u8.azurewebsites.net/api/link/v1/coin/withdraw-to-deposit-id/request > Result: Success > HTTP Code: 200 > Body: { "dry_run": false, "currency_code": "BAT", "amount": 3.325000, "message": null, "transfer_status": "SUCCESS", "transfer_id": "c50d043e-6c39-43c1-834e-30437524669e" } ``` ``` [ REQUEST ] [2812:2812:0526/000527.241933:VERBOSE6:logging_util.cc(136)] [ RESPONSE - OnRequest ] > Url: https://demo24kiuw4dcyncsy3qlud8u8.azurewebsites.net/api/link/v1/coin/withdraw-to-deposit-id/request > Result: Success > HTTP Code: 200 > Body: { "dry_run": false, "currency_code": "BAT", "amount": 0.175000, "message": null, "transfer_status": "SUCCESS", "transfer_id": "5ce4f646-2e59-4342-8308-c46e613b506d" } ```
Scenario 7 - Confirm custom tipping works from in-line tip button `Twitter` ![image](https://user-images.githubusercontent.com/34715963/119575250-070eb000-bdb7-11eb-818c-2880ca225f20.png)|![image](https://user-images.githubusercontent.com/34715963/119575265-0ece5480-bdb7-11eb-9c3f-882139a60a60.png)|![image](https://user-images.githubusercontent.com/34715963/119575277-142b9f00-bdb7-11eb-87d0-f57039fbed32.png)|![image](https://user-images.githubusercontent.com/34715963/119575291-18f05300-bdb7-11eb-9d49-79d5e84bb1eb.png) --|--|--|-- `Reddit` ![image](https://user-images.githubusercontent.com/34715963/119575431-55bc4a00-bdb7-11eb-94cb-450e05c8890a.png)|![image](https://user-images.githubusercontent.com/34715963/119575444-5a80fe00-bdb7-11eb-8b45-9bba831ccc3c.png)|![image](https://user-images.githubusercontent.com/34715963/119575458-5f45b200-bdb7-11eb-811b-ecd682a21642.png)|![image](https://user-images.githubusercontent.com/34715963/119575499-6d93ce00-bdb7-11eb-969a-1b194dddd4b4.png)|![image](https://user-images.githubusercontent.com/34715963/119575516-77b5cc80-bdb7-11eb-95ac-583db609a456.png) --|--|--|--|--
srirambv commented 3 years ago

@deeppandya if am not wrong this is not yet available on Android. Can we have a new issue created for Android and remove the label from this one?

srirambv commented 3 years ago

Follow up issue https://github.com/brave/brave-browser/issues/16021 logged for Android and removing label from this one