diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index e7a3c6de..1e4e0d69 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -770,8 +770,9 @@

ShippingAddress interface

If the requestShipping flag was set to true in the PaymentOptions passed to the PaymentRequest constructor, then the user agent will populate the - shippingAddress field of the PaymentRequest object with - the user's selected shipping address. + shippingAddress field of the PaymentRequest and ultimately the + PaymentResponse object with the user's selected shipping address after + the user has accepted the payment.

The fields of the ShippingAddress interface are @@ -820,6 +821,7 @@

PaymentResponse interface

interface PaymentResponse { readonly attribute DOMString methodName; readonly attribute object details; + readonly attribute ShippingAddress? shippingAddress; Promise<void> complete(boolean success); }; @@ -838,7 +840,14 @@

PaymentResponse interface

details
A JSON-serializable object that provides a payment method specific message used by the merchant to - process the transaction and determine successful fund transfer. + process the transaction and determine successful fund transfer. This data is returned by the payment app + that satisfies the payment request. +
+
shippingAddress
+
+ If the requestShipping flag was set to true in the PaymentOptions + passed to the PaymentRequest constructor, then shippingAddress will + be the full and final shipping address chosen by the user.