Re: [w3c/payment-handler] Why does a Payment App need to see the line items? (#91)

I would prefer that we have both semantic tagging and the `shareWithPaymentApp` boolean for explicit opt-in by merchant.

```idl
dictionary PaymentItem {
  required DOMString label;
  required PaymentCurrencyAmount amount;
  boolean pending = false;
  boolean shareWithPaymentApp = false;
  PaymentItemCategory category;
};

enum PaymentItemCategory {
  "subtotal",
  "tax",
  "shipping",
};
```

-- 
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-handler/issues/91#issuecomment-489141815

Received on Friday, 3 May 2019 15:46:26 UTC