Re: [w3c/payment-method-basic-card] Connecting to payment request. (#50)

marcoscaceres commented on this pull request.



>        </p>
       <ol class="algorithm" data-link-for="BasicCardResponse">
         <li data-link-for="BasicCardRequest">Let <var>requestedNetworks</var>
-        be the result of filtering <var>data</var>["<a>supportedNetworks</a>"]
-        for <a>networks</a> that are <a>known</a> by this payment handler.
+        be <var>data</var>["<a>supportedNetworks</a>"].
+        </li>
+        <li data-link-for="BasicCardRequest">Let <var>requestedTypes</var> be
+        <var>data</var>["<a>supportedTypes</a>"].
+        </li>
+        <li>If the <a>primary account number</a> is not from one of the

either ways is fine... basically:

```
cards.filter(card => stepsToCheckInstrumentSupport(card))
```

However, "cards" needs to come from Basic Card Payment Handler.. 

-- 
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-basic-card/pull/50#discussion_r179082110

Received on Wednesday, 4 April 2018 09:45:34 UTC