diff --git a/index.html b/index.html index 26237e9b..ff5bd5c6 100644 --- a/index.html +++ b/index.html @@ -1051,8 +1051,8 @@
PaymentRequest
's details
- algorithm with detailsPromise and
- request.
+ algorithm with detailsPromise, request,
+ and null.
@@ -1972,6 +1972,7 @@
dictionary PaymentOptions { boolean requestPayerName = false; + boolean requestBillingAddress = false; boolean requestPayerEmail = false; boolean requestPayerPhone = false; boolean requestShipping = false; @@ -1984,6 +1985,19 @@options desired for the payment request.
+
- + requestBillingAddress member +
+- + A boolean that instructs the user agent to get the billing + address associated with a payment method (e.g., the billing + address associated with a credit card). Typically, the user agent + will return the billing address as part of the + PaymentMethodChangeEvent's methodDetails, albeit + possibly with parts of the address redacted for privacy reasons. A + merchant can use this information to, for example, calculate tax in + certain jurisdictions. +
- requestPayerName member
@@ -4034,9 +4048,16 @@
PaymentRequest
's details
- algorithm with detailsPromise and
- request.
+ algorithm with detailsPromise, request,
+ and pmi.
The update a PaymentRequest
's details
algorithm takes a PaymentDetailsUpdate
- detailsPromise and a PaymentRequest
- request. The steps are conditional on the
- detailsPromise settling. If detailsPromise
- never settles then the payment request is blocked. The user agent
- SHOULD provide the user with a means to abort a payment request.
- Implementations MAY choose to implement a timeout for pending updates
- if detailsPromise doesn't settle in a reasonable amount of
- time. If an implementation chooses to implement a timeout, they MUST
- execute the steps listed below in the "upon rejection" path. Such a
- timeout is a fatal error for the payment request.
+ detailsPromise, a PaymentRequest
+ request, and pmi that is either a DOMString or
+ null (a payment method identifier). The steps are conditional
+ on the detailsPromise settling. If
+ detailsPromise never settles then the payment request is
+ blocked. The user agent SHOULD provide the user with a means to abort
+ a payment request. Implementations MAY choose to implement a timeout
+ for pending updates if detailsPromise doesn't settle in a
+ reasonable amount of time. If an implementation chooses to implement
+ a timeout, they MUST execute the steps listed below in the "upon
+ rejection" path. Such a timeout is a fatal error for the payment
+ request.