Re: [w3c/payment-request] Pass SKU instead of Total (#879)

It's not clear to me why translating SKUs to price should be handled by PaymentRequest?

It feels to me like the group has expressed recently that we have already tightly coupled too many things to "payment" with this API.

i.e. Collecting address, email, shipping are more related to "checkout" than payments. As a result PR API is only really useful to many merchants in the guest checkout scenario.

What about we change this to:

```
const total = getTotalFromSku();
const request = new PaymentRequest([{supportedMethods:'https://play.google.com/store'}], {total});
const response = await request.show();
```

-- 
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/issues/879#issuecomment-528393887

Received on Thursday, 5 September 2019 14:36:08 UTC