From fe5de1da89d44199828a3ed89e2d136439c82a98 Mon Sep 17 00:00:00 2001 From: Ade Bateman Date: Wed, 8 Jun 2016 14:30:06 -0700 Subject: [PATCH] Simple editorial fixes. --- index.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/index.html b/index.html index 156fc1e0..edaf4caf 100644 --- a/index.html +++ b/index.html @@ -291,10 +291,10 @@

PaymentRequest constructor

and the payment options.

- It is proposed that a conformance criteria for implementations of this API be + It is proposed that a conformance criterion for implementations of this API be that any data passed into the request is passed on to the payment app unaltered. This would allow extensions of the data schema such as the addition of - properties that are not documented in this specification or known to implementors + properties that are not documented in this specification or known to implementers such as JSON-LD @context or similar to be passed between the website and payment app.
@@ -660,7 +660,7 @@

PaymentCurrencyAmount

value
- A string containing the decimal monetary value. If a decimal separator is needed then the string + A string containing the decimal monetary value. If a decimal separator is needed, then the string MUST use a single U+002E FULL STOP character as the decimal separator. The string MUST begin with a single U+002D HYPHEN-MINUS character if the value is negative. All other characters must be characters in the range U+0030 DIGIT ZERO (0) to U+0039 DIGIT NINE (9). @@ -709,7 +709,7 @@

PaymentDetails dictionary

displayItems
This sequence of PaymentItem dictionaries contains line items - for the payment request that the user agent MAY display. For example, it might include + for the payment request that the user agent MAY display. For example, it might include details of products or breakdown of tax and shipping. It is optional to provide this information.

The user agent MAY validate that the total amount is the @@ -880,7 +880,7 @@

PaymentAddress interface

-

PaymentShippingOption interface

+

PaymentShippingOption dictionary

         dictionary PaymentShippingOption {
           required string id;
@@ -970,20 +970,20 @@ 

PaymentResponse interface

complete()

The complete method must be called after the user has accepted the payment request and the [[\acceptPromise]] has been resolved. Calling the complete method tells - the user agent that the user interaction is over (and should cause any remaining user interface to be + the user agent that the user interaction is over (and should cause any remaining user interface to be closed).

The complete method takes a string argument from the PaymentComplete - enum (result). These values are used to influence the user experience provided by the user agent + enum (result). These values are used to influence the user experience provided by the user agent when the user interface is dismissed. The value of result has the following meaning:

"success"
-
Indicates the payment was successfully processed. The user agent MAY display UI indicating +
Indicates the payment was successfully processed. The user agent MAY display UI indicating success.
"fail"
-
Indicates that processing of the payment failed. The user agent MAY display UI indicating +
Indicates that processing of the payment failed. The user agent MAY display UI indicating failure.
""
-
The web page did not indicate success or failure and the user agent SHOULD NOT display +
The web page did not indicate success or failure and the user agent SHOULD NOT display UI indicating success or failure. This is the default value if the web page does not supply a value for result.