Re: [w3c/payment-method-id] Clarify validation of standardized PMIs (#41)

marcoscaceres commented on this pull request.



> +          <p>
+            When used in an API, the following method identifiers are all
+            ignored by the user agent. Some user agents might inform developers
+            that identifiers are invalid to help them fix issues.
+          </p>
+          <pre class="example" title="Conforming and non-conforming PMIs">
+            const good = [
+              {
+                supportedMethods: "basic-card",
+              },
+            ];
+
+            const bad = [
+              {
+                // ❌ Contains Unicode character outside the valid ranges.
+                supportedMethods: "💳-card",

So many missed opportunities... 😭

-- 
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-method-id/pull/41#discussion_r129705830

Received on Wednesday, 26 July 2017 21:51:56 UTC