forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[payments] Sort payment instruments when multiple exists.
This cl is a follow up for the following cl and includes the listed changes: https://chromium-review.googlesource.com/c/chromium/src/+/1675343 1- Expired cards are recorded in UMA missingPaymentFields metrics even though they are considered as complete. 2- Cards with incomplete billing addresses are not considered as complete for payment. 3- Cases where the saved card does not exactly match the specified card in payment request are recorded in UMA missingPaymentFields as well. 4- Completeness score is added for autofill payment instruments. 5- CanPreselect is added for SW payment instruments. 6- Payment instruments are sorted on desktop when there are multiple available. TBR=parastoog@chromium.org Bug: 978542 Change-Id: I64c3430d3e591fa0bb3bb60f14a6a9972204b32d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1688309 Reviewed-by: Sahel Sharify <sahel@chromium.org> Reviewed-by: Parastoo Geranmayeh <parastoog@google.com> Reviewed-by: Moe Ahmadi <mahmadi@chromium.org> Reviewed-by: Rouslan Solomakhin <rouslan@chromium.org> Commit-Queue: Sahel Sharify <sahel@chromium.org> Cr-Commit-Position: refs/heads/master@{#676679}
- Loading branch information
Sahel Sharify
authored and
Commit Bot
committed
Jul 12, 2019
1 parent
1efb5da
commit 13331e8
Showing
24 changed files
with
661 additions
and
199 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
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
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
Oops, something went wrong.