diff --git a/index.html b/index.html index a1c7387b..90b7c712 100644 --- a/index.html +++ b/index.html @@ -958,6 +958,7 @@

PaymentResponse interface

readonly attribute PaymentCurrencyAmount totalAmount; readonly attribute object details; readonly attribute PaymentAddress? shippingAddress; + readonly attribute DOMString? shippingOption; readonly attribute DOMString? payerEmail; readonly attribute DOMString? payerPhone; @@ -996,6 +997,12 @@

PaymentResponse interface

passed to the PaymentRequest constructor, then shippingAddress will be the full and final shipping address chosen by the user. +
shippingOption
+
+ If the requestShipping flag was set to true in the PaymentOptions + passed to the PaymentRequest constructor, then shippingOption will + be the id attribute of the selected shipping option. +
payerEmail
If the requestPayerEmail flag was set to true in the PaymentOptions @@ -1355,6 +1362,11 @@

User accepts the payment request algorithm

is true, then copy the shippingAddress attribute of request to the shippingAddress attribute of response. +
  • + If the requestShipping value of request@[[\options]] + is true, then copy the shippingOption attribute of + request to the shippingOption attribute of response. +
  • If the requestPayerEmail value of request@[[\options]] is true, then set the payerEmail attribute of