Listen for 'paid for full version' event in Chrome Extension
Reported by
zmste...@gmail.com,
Jun 22 2018
|
|||
Issue descriptionUserAgent: 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:
,
Jun 25 2018
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..
,
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
,
Jun 26 2018
zmstefan@ Marked this issue as Untriaged for the Developers to look into this issue and help further. Thanks..
,
Jun 29 2018
Assigning to markchang@ for triage, since this is the webstore payments API.
,
Jul 6
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 |
|||
Comment 1 by krajshree@chromium.org
, Jun 24 2018