Re: [w3c/payment-request] Validate PMIs, ignore duplicates (#581)

@zkoch and @adrianba can you confirm that this matches the implementation on Edge and Chrome.

I read the proposed text to not allow this:

new PaymentRequest(
  [
    {
      supportedMethods: "basic-card",
      data: {
        supportedTypes: ["debit"],
        supportedNetworks: ["visa", "amex"],
      }
    },
    {
      supportedMethods: "basic-card",
      data: {
         supportedTypes: ["credit"],
      }
    },
  ],
  details
);

...implying, I accept credit cards from all networks but debit cards only from VISA and Mastercard.

I think that is a mistake.

-- 
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/581#issuecomment-321785174

Received on Friday, 11 August 2017 11:07:56 UTC