Skip to content

Link IAP on Android Leo #35983

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

Closed
SergeyZhukovsky opened this issue Feb 12, 2024 · 3 comments · Fixed by brave/brave-core#22012
Closed

Link IAP on Android Leo #35983

SergeyZhukovsky opened this issue Feb 12, 2024 · 3 comments · Fixed by brave/brave-core#22012
Assignees
Labels
browser-ai OS/Android Fixes related to Android browser functionality priority/P3 The next thing for us to work on. It'll ride the trains. QA Pass - Android ARM QA Pass - Android Tab QA/Yes release-notes/exclude

Comments

@SergeyZhukovsky
Copy link
Member

  • change intent from connect-receipt to link-order
  • pass orderId to localStorage along with receipt
@kjozwiak
Copy link
Member

@Uni-verse @hffvld can use brave/brave-core#22012 (comment) as the template for the above verification. However, we'll need to use production this time around rather than staging. @AlanBreck confirmed that the changes have been merged into production. The above requires 1.63.156 or higher for 1.63.x verification 👍

@kjozwiak
Copy link
Member

kjozwiak commented Feb 20, 2024

Verification PASSED on Pixel 6 running Android 14 using the following build(s):

Brave | 1.63.157 Chromium: 122.0.6261.43 (Official Build) (64-bit)
--- | ---
Revision | 5fbb7c60cc44e15a910a39a349e632f1b904c58e
OS | Android 14; Build/AP11.231215.009; 34; REL
  • launched 1.63.157 Chromium: 122.0.6261.43
  • purchased Leo premium via Hamburger Menu -> Settings -> Leo -> Go Premium (using a real CC # via production)
  • once Leo has been purchased, tapped on Link purchase to your Brave account via the Leo settings
  • ensured that https://account.brave.com/?intent=link-order&product=leo (specifically intent=link-order)
  • used/logged into an account that doesn't have any Premium products associated with the account
  • once logged into the Brave Account, tapped on Link my subscription now
    • ensured that the Success! Your subscription is now linked message was displayed once linked
  • ensured that Leo appeared as a purchased premium product
    • ensured that Purchased on Android is visible/being displayed

Purchasing Leo via Production

Example Example Example Example Example Example
Screenshot_20240217-172254 Screenshot_20240217-172258 Screenshot_20240217-172306 Screenshot_20240217-172410 Screenshot_20240217-172509 Screenshot_20240217-172849

Linking with Desktop using Production

Example Example Example Example Example Example
Screenshot_20240217-172627 Screenshot_20240217-172907 Screenshot_20240217-172913 Screenshot_20240217-173020 Screenshot_20240217-173009 Screenshot_20240217-172604

Once launched 1.62.165 Chromium: 121.0.6167.184 using Win 11 x64 and went through the following:

  • logged into the same account that was used above via https://account.brave.com/account/
  • once logged in, verified that Leo was a product that appeared as Purchased
    • ensured that Purchased on Android is visible/being displayed
  • clicked on Refresh Leo and ensured that new credentials were pulled and Leo switched to Premium on the desktop
  • ensured that Premium appeared throughout the UI and that Unlimited appeared next to each LLM (indicating Premium)
Example Example Example Example Example Example Example
leo1 leo2 leo3 leo4 leo5 leo6 leo7

Cancelling Leo subscription via Production

Example Example Example Example Example Example
Screenshot_20240219-221311 Screenshot_20240219-221316 Screenshot_20240219-221328 Screenshot_20240219-221323 Screenshot_20240219-221335 cancelledPremium

@kjozwiak
Copy link
Member

Verification PASSED on Samsung Galaxy Tab S8 Ultra running Android 14 using the following build(s):

Brave | 1.63.157 Chromium: 122.0.6261.43 (Official Build) (64-bit)
--- | ---
Revision | 5fbb7c60cc44e15a910a39a349e632f1b904c58e
OS | Android 14; Build/UP1A.231005.007; 34; REL
  • launched 1.63.157 Chromium: 122.0.6261.43
  • purchased Leo premium via Hamburger Menu -> Settings -> Leo -> Go Premium (using a real CC # via production)
  • once Leo has been purchased, tapped on Link purchase to your Brave account via the Leo settings
  • ensured that https://account.brave.com/?intent=link-order&product=leo (specifically intent=link-order)
  • used/logged into an account that doesn't have any Premium products associated with the account
  • once logged into the Brave Account, tapped on Link my subscription now
    • ensured that the Success! Your subscription is now linked message was displayed once linked
  • ensured that Leo appeared as a purchased premium product
    • ensured that Purchased on Android is visible/being displayed

Purchasing Leo via Production

Example Example Example Example Example Example
Screenshot_20240219_224920_Brave Screenshot_20240219_224925_Brave Screenshot_20240219_224931_Google Play Store Screenshot_20240219_225002_Google Play Store Screenshot_20240219_225032_Brave Screenshot_20240219_225048_Gmail

Linking with Desktop using Production

Example Example Example Example Example Example
Screenshot_20240219_225155_Brave Screenshot_20240219_225243_Brave Screenshot_20240219_225251_Brave Screenshot_20240219_225311_Brave Screenshot_20240219_225323_Brave Screenshot_20240219_225414_Brave

Once launched 1.62.165 Chromium: 121.0.6167.184 using Win 11 x64 and went through the following:

  • logged into the same account that was used above via https://account.brave.com/account/
  • once logged in, verified that Leo was a product that appeared as Purchased
    • ensured that Purchased on Android is visible/being displayed
  • clicked on Refresh Leo and ensured that new credentials were pulled and Leo switched to Premium on the desktop
  • ensured that Premium appeared throughout the UI and that Unlimited appeared next to each LLM (indicating Premium)
Example Example Example Example Example Example
leo1 leo2 leo3 leo4 leo5 leo6

Cancelling Leo subscription via Production

Example Example Example Example Example Example
Screenshot_20240219_230326_Google Play Store Screenshot_20240219_230330_Google Play Store Screenshot_20240219_230337_Google Play Store Screenshot_20240219_230342_Google Play Store Screenshot_20240219_230348_Google Play Store Screenshot_20240219_230357_Gmail

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser-ai OS/Android Fixes related to Android browser functionality priority/P3 The next thing for us to work on. It'll ride the trains. QA Pass - Android ARM QA Pass - Android Tab QA/Yes release-notes/exclude
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants