diff --git a/index.html b/index.html index 2f2de395..e82c004b 100644 --- a/index.html +++ b/index.html @@ -236,6 +236,12 @@
+ The user agent as a whole has a single payment request is + showing boolean, initially false. This is used to prevent + multiple PaymentRequests from being shown, via their + show() method, at the same time. +
The shippingAddress, shippingOption, and shippingType attributes are populated during processing if the @@ -602,14 +608,23 @@
- The show() method is called when the page wants to begin user - interaction for the payment request. The show() method returns - a Promise that will be resolved when the user accepts the - payment request. Some kind of user interface will be presented to - the user to facilitate the payment request after the show() - method returns. -
++ The show() method is called when the page wants to begin + user interaction for the payment request. The show() method + returns a Promise that will be resolved when the user + accepts the payment request. Some kind of user interface will + be presented to the user to facilitate the payment request after + the show() method returns. +
++ It is not possible to show multiple PaymentRequests at the + same time within one user agent. Calling show() if + another PaymentRequest is already showing, even due to some + other site, will return a promise rejected with an + "AbortError" DOMException. +
+The show() method MUST act as follows:
@@ -617,17 +632,20 @@@@ -639,7 +657,7 @@
@@ -650,6 +668,9 @@
@@ -2502,7 +2524,8 @@
The user accepts the payment request algorithm runs when the user accepts the - payment request and confirms that they want to pay. It MUST run the + payment request and confirms that they want to pay. It MUST queue + a task on the user interaction task source to perform the following steps:
The user aborts the payment request algorithm runs when the user aborts the payment - request through the currently interactive user interface. It MUST run - the following steps: + request through the currently interactive user interface. It MUST + queue a task on the user interaction task source to + perform the following steps: