New issue
Advanced search Search tips

Issue 855605 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Feature



Sign in to add a comment

Listen for 'paid for full version' event in Chrome Extension

Reported by zmste...@gmail.com, Jun 22 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36

Steps to reproduce the problem:
I have an Chrome Extension uploaded in Chrome Store, it has free trial and paid modes (only One Time payment is available for paid modes)

I need to be able to recognize when user switches between these modes from extension's background script, so I can enable\disable premium functionality.

Official docs don't contain anything regarding this.

I tried adding chrome.runtime.onInstalled event listener, but it doesn't get triggered when user switches to paid mode...

I'm able to get current license version by hitting https://www.googleapis.com/chromewebstore/v1.1/userlicenses/ but I don't think it's a best way to hit it each few seconds to check for license change, there must be a better way...

What is the expected behavior?

What went wrong?
^^^

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 67.0.3396.87  Channel: stable
OS Version: 10.0
Flash Version:
 
Labels: Needs-Triage-M67
Cc: susan.boorgula@chromium.org
Components: Platform>Extensions
Labels: -Type-Bug Triaged-ET M-69 FoundIn-69 Target-69 OS-Linux OS-Mac Type-Feature
Status: Untriaged (was: Unconfirmed)
mstefan@ Thanks for the issue.

From the above description, this looks like a feature request to be able to recognize when user switches from free trial and paid modes version in chrome://extensions.

Thanks..

Comment 3 by zmste...@gmail.com, Jun 25 2018

@susan.boorgula

I'd be glad if you could explain to me how to proceed without that feature implemented at the moment?

What are the quotas for hitting: https://www.googleapis.com/chromewebstore/v1.1/userlicenses/ ?

I don't want to get my app banned for doing it too often, but I also want to enable Paid features to users who pay for it as fast as possible.

Thanks

zmstefan@ Marked this issue as Untriaged for the Developers to look into this issue and help further.

Thanks..
Owner: markchang@chromium.org
Status: Assigned (was: Untriaged)
Assigning to markchang@ for triage, since this is the webstore payments API.
Any news regarding this? It can't be that I'm the only one who came upon this problem...

Sign in to add a comment