Thanks Stephen! :)

On Mon, Jun 19, 2023 at 3:13 PM Stephen Mcgruer <[email protected]>
wrote:

> Hi Yoav, thanks for the questions!
>
> > The PR seems to be a draft. What's preventing us from landing it? Was
> this discussed in some public forum?
>
> We intend to land the PR before shipping this feature. It has been
> discussed broadly in the Web Payments WG, but I expect to raise the
> specific PR for discussion as well. (Though note that at the current point,
> I believe Chrome is the only active browser vendor in that WG. Apple have
> stated interest in rejoining it, but are waiting for an in-progress charter
> change first.)
>
> > I'm having a hard time imagining the use case for activation-less
> payments. Is there a concrete example you can share?
>
> Fair question, and I apologize - we should have motivated this more
> clearly externally. The core use-cases are based around redirect payment
> flows, which are fairly common in payments. Two coarse examples we have
> heard are:
>
> 1. A merchant-aggregator page showing products from many different
> merchants. If a user decides to buy something with a given payment method,
> the aggregator page redirects to the specific merchant. The merchant then
> wants to trigger payment, without requiring the user to click again on
> their chosen payment method.
>
> 2. A redirect-based payment flow, where the payment method wants to
> trigger a natively installed experience (via Payment Handler) without the
> user having to click again. (E.g., user is on merchant.example, chooses to
> pay with FooPay. The merchant site redirects to foopay.example. FooPay then
> wants to trigger its natively installed app on the phone, if available, but
> doesn't want to require the user to click again.
>
> We are cognizant that this may be a risky change, and have consulted
> internal security folks on it in detail. From that, there are mitigations
> laid out in the design doc, and we are also intending to monitor for
> potential misuse.
>

Have y'all considered passing along the user activation from the redirector
page to the redirected page? (maybe with an explicit opt-in from the
redirector)


>
> > While I agree that a signal specifically for this seems like an
> overkill, could you maybe comment with this on past position requests, to
> see if Gecko or WebKit have an opinion on this issue?
>
> Ack, we will follow up on this. Note that Gecko does not implement Payment
> Request currently.
>
> Thanks,
> Stephen
>
> On Wed, Jun 14, 2023, 3:28 a.m. Yoav Weiss <[email protected]> wrote:
>
>>
>>
>> On Tue, Jun 13, 2023 at 8:54 PM Nick Burris <[email protected]> wrote:
>>
>>> Contact [email protected], [email protected],
>>> [email protected]
>>>
>>> Specificationhttps://github.com/w3c/payment-request/pull/1009
>>>
>>
>> The PR seems to be a draft. What's preventing us from landing it?
>> Was this discussed in some public forum?
>>
>>
>>>
>>>
>>> Design docs
>>> https://docs.google.com/document/d/16DHqqPWe5oM6Rucnn6Y1llhJ-DoEeLtTWFldJFg4iqA/edit#heading=h.w5782xqp7ab4
>>>
>>> Summary
>>>
>>> To help developers reduce friction in Payment Request flows, we are
>>> removing the user activation requirement for PaymentRequest.show(). Spam
>>> and clickjacking mitigations are put in place to mitigate security and
>>> privacy risks with this change (see design doc
>>> <https://docs.google.com/document/d/16DHqqPWe5oM6Rucnn6Y1llhJ-DoEeLtTWFldJFg4iqA/edit#heading=h.9tic5lqm5god>
>>> ).
>>>
>>
>> I'm having a hard time imagining the use case for activation-less
>> payments. Is there a concrete example you can share?
>>
>>
>>>
>>>
>>> Blink componentBlink>Payments
>>> <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EPayments>
>>>
>>> TAG reviewNone
>>>
>>> TAG review statusNot applicable
>>>
>>> Risks
>>>
>>>
>>> Interoperability and Compatibility*Gecko*: No signal
>>>
>>> *WebKit*: No signal
>>>
>>
>> While I agree that a signal specifically for this seems like an overkill,
>> could you maybe comment with this on past position requests, to see if
>> Gecko or WebKit have an opinion on this issue?
>>
>>
>>>
>>> *Web developers*: We've received direct feedback from web developers
>>> that they would be able to reduce friction in their redirect-based payment
>>> flows if PaymentRequest.show() could be initiated without a user activation.
>>>
>>> *Other signals*:
>>>
>>> WebView application risks
>>>
>>> Does this intent deprecate or change behavior of existing APIs, such
>>> that it has potentially high risk for Android WebView-based applications?
>>>
>>> None
>>>
>>>
>>> Debuggability
>>>
>>> Existing debuggability for PaymentRequest; e.g. a specific SecurityError
>>> is thrown when an activationless show() call is not allowed.
>>>
>>> Will this feature be supported on all six Blink platforms (Windows, Mac,
>>> Linux, Chrome OS, Android, and Android WebView)?Yes
>>>
>>> Is this feature fully tested by web-platform-tests
>>> <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
>>> ?Yes
>>>
>>> Flag name--enable-blink-features=PaymentRequestActivationlessShow
>>>
>>> Tracking bug
>>> https://bugs.chromium.org/p/chromium/issues/detail?id=1454204
>>>
>>> Estimated milestones
>>> DevTrial on desktop 117
>>> DevTrial on Android 117
>>>
>>> Anticipated spec changes
>>> https://github.com/w3c/payment-request/pull/1009
>>>
>>> Link to entry on the Chrome Platform Status
>>> https://chromestatus.com/feature/4879115349393408
>>>
>>>
>>> This intent message was generated by Chrome Platform Status
>>> <https://chromestatus.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 [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADvKJHOuA%2BEMEWO7heQJeZkr%2BU%2BtndoVuXenCeC7xQ_ENXy9RQ%40mail.gmail.com
>>> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADvKJHOuA%2BEMEWO7heQJeZkr%2BU%2BtndoVuXenCeC7xQ_ENXy9RQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAL5BFfXWD-TpQOVkGndmXgEa%2BAF9n5hE8448cnAVbwC2XZBkkA%40mail.gmail.com.

Reply via email to