Re: [w3c/payment-request] Should PaymentItem.pending be marked "at risk"? (#571)

Few thoughts:

* Apple also has support for "pending" types, so we added this to be closer to Apple's API.
* I do think there's value here. IMO, line items shouldn't change, just the values they have should change. For example, if you have the following:

Subtotal: 5.00
Tax: 1.00
Shipping _pending_

This helps set user expectations that the total price is not reflective at the moment and will be updated after some event (that hopefully makes sense to them given the label of the line item).

* I don't think we should enforce UI constraints around "Pay" buttons active/disabled state. I can imagine scenarios where pending is actually valuable even at time of "payment". For example, authorizations in general.

-- 
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/571#issuecomment-319765873

Received on Wednesday, 2 August 2017 18:58:39 UTC