Re: [w3c/payment-request] Allow user activation to be delegated to a child frame to trigger request.show() (#917)

> One consideration might be if payments expects more time to pass between click and PR.show(), for any reason

Sometimes there can be a requirement to perform a server round trip to retrieve the most up to date price, for example. PaymentRequest.show() handles that requirement by allowing a promise for updated payment details to be passed into show() as an optional parameter. Therefore, there is no need to account for such a delay in capability delegation API.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/issues/917#issuecomment-902091793

Received on Thursday, 19 August 2021 17:12:27 UTC