Re: [w3c/browser-payment-api] The "data" member of PaymentMethodData doesn't seem to actually be used for anything (#338)

Really appreciated. Do you think it would be a good idea to add the example
to the spec?

On Thu, Dec 15, 2016 at 5:50 PM, Rouslan Solomakhin <
notifications@github.com> wrote:

> Here's an example for a merchant that accepts only debit cards, regardless
> of whether they are passed in the raw via 'basic-card' or encrypted via
> 'tokenized-card'.
>
> new PaymentRequest(
>     [{
>         supportedMethods: ['basic-card', 'tokenized-card'],
>         data: {supportedTypes: ['debit']}
>     }],
>     shoppingCart);
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/w3c/browser-payment-api/issues/338#issuecomment-267378870>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAuQtvq_AzeYvqnH_fjRQTQAeNENDdIlks5rIW_ZgaJpZM4K_wwj>
> .
>


-- 
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/browser-payment-api/issues/338#issuecomment-267390051

Received on Thursday, 15 December 2016 17:34:00 UTC