diff --git a/specs/paymentrequest.html b/specs/paymentrequest.html index f0734b71..5391e7fe 100644 --- a/specs/paymentrequest.html +++ b/specs/paymentrequest.html @@ -295,17 +295,17 @@
dictionary CurrencyAmount { - required DOMString currencyCode; + required DOMString currency; required DOMString value; };@@ -587,19 +587,20 @@
CurrencyAmount
to be valid:
currencyCode
currency
currencyCode
is a string containing a three-letter alphabetic code for the
- currency as defined by [[!ISO4217]]. For example, "USD"
for US Dollars.
+ currency
is a string containing a currency identifier. The most common
+ identifiers are three-letter alphabetic codes as defined by [[!ISO4217]] (for example,
+ "USD"
for US Dollars) however any string is considered valid and
+ user agents MUST not attempt to validate this string.
value
^-?[0-9]+(\.[0-9]+)?$
.
+ The string should match the regular expression ^[0-9]+(\.[0-9]+)?$
.
The following example shows how to represent US$55.00.
{ - "currencyCode": "USD", + "currency": "USD", "value" : "55.00" }