Contact emails
rou...@chromium.org, zk...@chromium.org
Spec
https://w3c.github.io/payment-request/#dom-paymentdetailsmodifier-data
Summary
Add data member to PaymentDetailsModifier dictionary, where merchants can specify modifiers based on payment methods. This allows merchant to provide discounts for debit cards, for example.
Link to “Intent to Implement” blink-dev discussion
https://groups.google.com/a/chromium.org/d/msg/blink-dev/Dpc5Ftqgxlg/ZYenHNR0AgAJ
Is this feature supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
No: it's not available on WebView. This is a subfeature of PaymentRequest, which requires UI. WebView does not have UI.
Demo link
https://rsolomakhin.github.io/pr/ uses modifiers to grant $10 discount for debit cards and $5 discount for MasterCard.
Interoperability and Compatibility Risk
Describe the degree of interoperability and compatibility risk. For a new feature, the main risk is that it fails to become an interoperable part of the web platform, if other do not implement it.
Edge: No signals
Firefox: In development
Safari: No signals
Web developers: Positive
Is this feature fully tested by web-platform-tests?
Although https://w3c-test.org/payment-request/ has many PaymentRequest tests, for `data`, the tests would need to access UI. The implementers have discussed this and have tentatively agreed to add testing support through https://marcoscaceres.github.io/payment-method-web-platform-test/, which we have not implemented yet.
OWP launch tracking bug
Entry on the feature dashboard
https://www.chromestatus.com/feature/6636936064139264
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMMzaWGu7Qv4F-6qBaeuZ6EvyjYVbhR28X52394ViJYJ4XraKg%40mail.gmail.com.
Is there a spec that defines how 'data' is to be interpreted for the standard payment method types? From the sample it seems that for 'basic-card' payments data is perhaps a BasicCardRequest, but I can't seem to find anything defining that. I assume we'll need at least that mapping to be specified somewhere in order to have any sort of web-platform-tests for this new API.
Can you please link to the bug/details of the Firefox work here?
Is there a spec that defines how 'data' is to be interpreted for the standard payment method types?
From the sample it seems that for 'basic-card' payments data is perhaps a BasicCardRequest, but I can't seem to find anything defining that.
I assume we'll need at least that mapping to be specified somewhere in order to have any sort of web-platform-tests for this new API.Can you please link to the bug/details of the Firefox work here?
Demo link
https://rsolomakhin.github.io/pr/ uses modifiers to grant $10 discount for debit cards and $5 discount for MasterCard.
I believe we've provided all relevant information. What else is necessary for the approvals to proceed?
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/191f71ec-57b6-4d52-861e-efd50f26f931%40chromium.org.
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/CAFUtAY-NcwQyoWAzEUnVDBPwuq8%3DMbZY7JdWp6BQtH6XXigDqA%40mail.gmail.com.
LGTM2On Wed, Aug 23, 2017 at 10:48 AM, Rick Byers <rby...@chromium.org> wrote:Normally we want to see landed spec changes (or at least PRs) that fully define the behavior, so I was waiting to see progress on #40 myself before considering this ready. But reading over it again, the issue makes the design pretty clear and it sounds like this is just a spec bug, not some omission that is yet to have consensus. So that's good enough for me - LGTM1.On Wed, Aug 23, 2017 at 1:13 PM, rouslan via blink-dev <blin...@chromium.org> wrote:I believe we've provided all relevant information. What else is necessary for the approvals to proceed?--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/191f71ec-57b6-4d52-861e-efd50f26f931%40chromium.org.
--
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/CAFUtAY-NcwQyoWAzEUnVDBPwuq8%3DMbZY7JdWp6BQtH6XXigDqA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAOMQ%2Bw91ccPE8Mkhqo7TbJKa7qX0_oBNLyZJiN5aLBWLAj4Emg%40mail.gmail.com.