diff --git a/index.html b/index.html index 37f160fe..e06dcc85 100644 --- a/index.html +++ b/index.html @@ -386,6 +386,10 @@
details does not contain a value for total, then throw a
TypeError.
+ details contains a value for error, then throw a
+ TypeError.
+ details.total.amount.value is U+002D HYPHEN-MINUS, then throw a
TypeError. total MUST be a non-negative amount.
@@ -675,6 +679,7 @@ errorupdateWith, the PaymentDetails
+ can contain a message in the error field that will be displayed to the user. For example,
+ this might commonly be used to explain why good cannot be shipped to the chosen shipping address.
+
+ The error field cannot be passed to the PaymentRequest constructor.
+ Doing so will cause a TypeError to be thrown.
+
details contains an error value, then the user agent should
+ update the user interface to display the error message contained in error.
+