- From: Marcos Cáceres <notifications@github.com>
- Date: Mon, 28 Aug 2017 03:55:10 +0000 (UTC)
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 28 August 2017 03:55:32 UTC
marcoscaceres commented on this pull request. > + <aside class="note"> + <p> + If a developer wants to update the payment request, then they + need to call <a>updateWith()</a> and provide a + <a>PaymentDetailsUpdate</a> dictionary, or a promise for one, + containing changed values that the <a>user agent</a> presents to + the user. + </p> + <p> + To prevent the user interface from blocking (and to reflect + changes made by the end-user through the UI), developers need to + immediately call <a>updateWith()</a>. If they don't, + <a>[[\didUpdate]]</a> becomes true and <a>updateWith()</a> + will throw. + </p> + <pre class="example" title="how to use `updateWith()` correctly."> I plan to add support for this in ReSpec, so will leave it for now and we will get this for free soon. -- 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/pull/591#discussion_r135437830
Received on Monday, 28 August 2017 03:55:32 UTC