Re: [w3c/payment-request] Make "total" and "details" optional (#912)

It seems unnecessary to use the PR API for Digital Goods Services in this way.

This change would mean the Payment Request API is no longer for payments but rather for purchases.

As I suggested in [WICG/digital-goods/#5]((https://github.com/WICG/digital-goods/issues/5), I recommend adding a `purchase` method to the new API instead.

If it's important to invoke the payment flow of the digital goods service via PR API then why not simply pass in the amount that was returned from `itemService.getDetails`?

-- 
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/912#issuecomment-631383195

Received on Wednesday, 20 May 2020 10:16:22 UTC