forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show additional display items when instruments change.
If the user selects a payment instrument that matches a modifier, then the contents of the shopping cart should show the additional display items from the modifier. For example, if the merchant provides discounts for "visa", then selecting a "visa" type card should show the "VISA discount $5.00" line item in the shopping cart. This is accomplished by keeping track of the full modifier, instead of just the total. This will also be useful in upcoming patch where the modifier contents will be sent to the payment app. This feature is behind chrome://flags#web-payments-modifiers flag. This patch additionally removes the no longer used variable "totalCurrency". BUG=660926 Review-Url: https://codereview.chromium.org/2549313002 Cr-Commit-Position: refs/heads/master@{#437347}
- Loading branch information
1 parent
27f0507
commit a01e730
Showing
2 changed files
with
90 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters