diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index ee4ad2f1..599ef1f9 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -688,6 +688,8 @@
dictionary PaymentOptions { + boolean requestPayerEmail = false; + boolean requestPayerPhone = false; boolean requestShipping = false; };@@ -700,14 +702,24 @@
PaymentRequest
constructor:
requestPayerEmail
true
to allow a merchant to email a receipt.
+ requestPayerPhone
true
to allow a merchant to phone a customer with a billing enquiry.
+ requestShipping
true
when physical goods need to be shipped by the merchant to the user.
This would be set to false
for an online-only electronic purchase transaction.
- If this value is not supplied then the PaymentRequest
behaves as
- if a value of false
had been supplied.
recipient
phone
If the requestShipping flag was set to true
in the PaymentOptions
@@ -842,6 +857,8 @@
shippingAddress
will
be the full and final shipping address chosen by the user.
+ payerEmail
true
in the PaymentOptions
+ passed to the PaymentRequest constructor, then payerEmail
will
+ be the email address chosen by the user.
+ payerPhone
true
in the PaymentOptions
+ passed to the PaymentRequest constructor, then payerPhone
will
+ be the phone number chosen by the user.
+ requestShipping
value of request@[[\options]]
+ is true
, then copy the shippingAddress
attribute of
+ request to the shippingAddress
attribute of response.
+ requestPayerEmail
value of request@[[\options]]
+ is true
, then set the payerEmail
attribute of
+ response to the payer's email address selected by the user.
+ requestPayerPhone
value of request@[[\options]]
+ is true
, then set the payerPhone
attribute of
+ response to the payer's phone number selected by the user.
+