Re: [w3c/payment-request] validate PaymentCurrencyAmount.currency (closes #490) (#567)

marcoscaceres commented on this pull request.



> +        </ol>
+        <p>
+          To <dfn data-lt="check and canonicalize total">check and canonicalize
+          <var>total</var> <a>PaymentCurrencyAmount</a></dfn>, run the
+          following steps:
+        </p>
+        <ol data-link-for="PaymentCurrencyAmount">
+          <li>If <a>currencySystem</a> is not
+          <code>urn:iso:std:iso:4217</code>, terminate this algorithm.
+          </li>
+          <li>
+            <a>Check and canonicalize <var>amount</var></a>. Rethrow any
+            exceptions.
+          </li>
+          <li>If the first <a>code point</a> of <var>value</var> is U+002D
+          HYPHEN-MINUS, then throw a <a>TypeError</a> optionally informing the

Yeah, let's leave this one... it be a pain to change it now. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/pull/567#discussion_r130520931

Received on Tuesday, 1 August 2017 05:15:23 UTC