mgi...@chromium.org, gle...@chromium.org, rou...@chromium.org
https://github.com/WICG/digital-goods/blob/master/explainer.md
None
https://github.com/WICG/digital-goods/blob/master/explainer.md
https://docs.google.com/document/d/1Jbt2Mzt-xg1cWVlFScBQsoX_pE8Kg1gYpulxUSV8FM0/edit
An API for querying and managing digital products to facilitate in-app purchases from web applications, in conjunction with the Payment Request API (which is used to make the actual purchases). The API would be linked to a digital distribution service connected to via the user agent. In Chromium, this is specifically a web API wrapper around the Android Play Billing API.
https://github.com/w3ctag/design-reviews/issues/571
In progress
Similar to Payment Request: this API is used to talk to specific store backends, and so its usage is tailored to the specific store. The reason it's a proposed web standard is so that the same code (which is specific to one store) is portable across browsers.
Gecko: No signal (https://github.com/mozilla/standards-positions/issues/349). Awaiting feedback.
WebKit: No signal
Web developers: Positive (https://discourse.wicg.io/t/proposal-web-payments-digital-product-management-api/4350)
Used in tandem with the Payment Request API.
- General API design. Determine whether developers need to access more data that would be exposed through the Play Billing API but is not exposed through our web API.
- Specifically, we would like to know whether the API is suitable for abstracting over other non-Play stores. While running an experiment with the current implementation won't tell us this, it will set up real-world clients and we can then try their sites on other implementations.
- M87 (2020-11-17): Experiment begins
- M90 (2021-04-13): Original experiment end date
- M93 (2021-08-31): Extended experiment end date
An origin trial ran from M87 to M90 and found some areas of developer friction and new features needed (see bugs labeled DGAPI). We haven't yet had time to fix all the issues and update the API. We are planning to update the API and run a next phase of the experiment with a v2 API soon. We would like to avoid stopping the experiment in between the phases to avoid unnecessarily disrupting current users of the API while we work on the next iteration.
None
No, Android and Chrome OS only (the two platforms where we have Play Store integration).
No
None
https://chromestatus.com/feature/5339955595313152
Intent to prototype: https://groups.google.com/a/chromium.org/g/blink-dev/c/vkS3k30lWNs
Intent to Experiment: https://groups.google.com/a/chromium.org/g/blink-dev/c/syI9_M9dANY/m/3lt-QGMHAgAJ
This intent message was generated by Chrome Platform Status.Until this work is done, we're not comfortable shipping this API. We think backwards-incompatible changes may be required. But we want to get it into the hands of developers before then. An origin trial lets us do that, but it's got a soft time limit (3 milestones), after which time we'll have to apply for an extension. Maybe that's fine, because we have specific questions we'll still want answered. But it seems a little unfit for purpose, because we aren't using the OT to answer those questions, we're just extending it to keep things working while we do design work behind the scenes.
...
If API owners are happy with us ... repeatedly extending the origin trial, without specific experimental questions, until we have done the internal research / spec work required to ship, then I think we can do without origin keys. My proposal was essentially an attempt to formalize that behaviour, rather than having to apply for all of these exemptions and extensions when they come up.
Hi Alex,Thanks for the notes from your meeting. I think we can create a summary of the proposed design changes (however, note that it's somewhat undecided at this stage, what specific changes will need to be made). I don't want to block the extension of the origin trial on having a design proposal, since that could jeopardize customers' ability to use the API.Does the 8-milestone run include the planned future "V2 API" origin trial, (i.e. if we run this for another 3 milestones, we'll only have 2 milestones left to do a V2 origin trial)? Or do you mean 8 milestones without making changes to the API.I think the latter would be pretty reasonable, but as I'm sure I've said before, I'm not too comfortable having a hard deadline on having to ship a new API or losing it. Having hard deadlines for shipping features, especially one this complex, generally results in rushed and buggy experiences. If we, say, get to M95 and have a working implementation for V2, but discover a bug at the last minute, I want to be able to have no hesitation to punt the release for an additional milestone (I don't want us to feel compelled to push it out the door because of an arbitrary 8-milestone limit).
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHqYdcYbiwZYA6atQ%3DsN6nkaT6M-7avGhOBdwjA373PG%3DCq2cg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfW657p0WOQSZeJtJdNz%2Bo5EYdy8q7uJDfb%3D05MUXtLLSg%40mail.gmail.com.
Thanks for the explanation, Yoav.Yes, we are talking about 6 milestones total (note: 5 milestones on Chrome OS, which is where a lot of our customers are targeting, since we missed the first milestone there).As said above, we are anticipating a V2 origin trial at some point in the future. We think we'll have a pretty solid design by the end of the quarter (that's roughly corresponding to the start of M94) but we simply can't promise that V2 will be implemented by then. When we get to M94, I think it is likely that we'll need to further extend the existing origin trial, but we should have a much better picture of the work required by then. Another possibility is that we ship all or part of the current API to general availability (if it is determined that the new changes are additions, rather than changes, to the existing API).
Sorry if this is vague, but I am trying to keep our options open and make sure that we aren't making promises we can't keep. My point above stands, that I don't want to set hard engineering deadlines which, if we don't meet them, will result in the disappearance of the API for our customers. We are not trying to keep this API in origin trial forever, but we need time to work towards a solution.
ĀMatt
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHqYdcYbiwZYA6atQ%3DsN6nkaT6M-7avGhOBdwjA373PG%3DCq2cg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
SGTM too; LGTM!
ĀMatt
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAHqYdcYbiwZYA6atQ%3DsN6nkaT6M-7avGhOBdwjA373PG%3DCq2cg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPV%2BSg_pU3Q59ZcBVDyY-TFDmhUjW_3e6wqPRfWLZDqJER_r4Q%40mail.gmail.com.
Would it be possible for us to extend by 2 milestones to M95 (inclusive) instead? We believe we can get a new v2 API (which will be a significant breaking change) implemented in time for M96; M94 is already in beta and M95 will not ship on CrOS, so the earliest we can get new code out to developers is in M96 anyway. This would make our total OT timeline M88 to M95 (8 milestones total), which is within the maximum OT time limit of 8 milestones Alex mentioned above (in fact shorter total time due to the changing milestone period). We would very much like to avoid the disruption to developers of having the OT turned off and this functionality being entirely unavailable during the intervening period before the new OT starts.
We understand your concern about an extended OT risking burn-in, but this is a complex API for developers to start using, as they have to create a product and payment flow around it. Usage of the API is still low ā a few hundred calls per day total for all methods (excluding getDigitalGoodsService, which is used for feature detection even when the API is otherwise unavailable).
Shipping a subset of the API now wouldn't help because we are proposing breaking changes to enough of the API that it probably isn't useful to ship the rest. Also, we are proposing a breaking change in the behaviour of the feature detection function that must be called before any other calls, so it would be mildly risky to ship that immediately.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPV%2BSg-%2BDqTw0coyVgjHLF4nytoDMDAyTBGv4woppiuyEOwwew%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPV%2BSg9Kyca3JTU9ZoqsCsEMr4Uuojq8cXge8W4eokF9qZ1CCQ%40mail.gmail.com.
LGTM2 to the plan and comments outlined by Chris.
/Daniel
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw_0tMBsaSM__mYY8onUaq899GJk6aFJtzG1MAOCcj-jYg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAKXHy%3DcnMZ%2Brc_HuKx8fhs0RVc94fmhUacaneftCcM%2BjxOGk9g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAPV%2BSg-er1aE1pvYnG1OVai6J7_RN1haYXTHN%2BV7TpF2bQ3hsg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw_dPo2bg7zVyobKN9TO2hLgpq1KW5AS-yfdW1b9ObU7Xw%40mail.gmail.com.