Closed Bug 1456034 Opened 7 years ago Closed 7 years ago

Decide on whether to display the total's label anywhere

Categories

(Firefox :: WebPayments UI, enhancement)

enhancement
Not set
minor

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: MattN, Unassigned)

Details

The PaymentRequest total has an optional `label` like all `PaymentItem`s (e.g. "Total Due"). We should decide if and where we will display the label in the UI. e.g.: * in the heading by the total? * In the footer by the total? (I think this was removed from the spec) * In the "View All Items" details overlay? The spec doesn't require us to display any `PaymentItem` `label`. Since the merchant is less likely to display this string in the user's preferred language than Firefox would, I think we may want to ignore it. We should check what other browsers are doing with it now and maybe ask merchants? Jacqueline, what do you think? If you search for "total:" in https://w3c.github.io/payment-request/ you will see some example code.
Flags: needinfo?(jsavory)
Priority: P2 → P3
Product: Toolkit → Firefox
Jacqueline, Can you confirm what decision was made during SF all hands. Did we decide not to show the label?
I believe we only have the total in the heading, it is not shown in the footer anywhere and we have removed view items. I also think that the final plan was to take out the wording 'Total' altogether and simply display the total amount and currency.
Flags: needinfo?(jsavory)
That matches what I thought too. Thanks!
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Priority: P3 → --
Whiteboard: [webpayments-reserve]
You need to log in before you can comment on or make changes to this bug.