Chromium Code Reviews
DescriptionConsider payment method specific data when filtering payment apps.
Chrome filters payment apps by payment method, e.g., "visa",
"mastercard", or "https://android.com/pay". With the upcoming
implementation of the new "basic-card" payment method, the filtering
needs to be based on the method specific data. The following snippet,
for example, specifies the "visa" and "debit" filters inside of the
method specific data.
new PaymentRequest([{
supportedMethods: ['basic-card'],
data: {
supportedNetworks: ['visa'],
supportedTypes: ['debit']
}
}],
shoppingCartContents);
This patch adds ability to filter out payment apps based on method
specific data as well as the list of payment methods that they support.
BUG=665190
Committed: https://crrev.com/e71bf006592c9ebba8c459848308b27e3efa63b4
Cr-Commit-Position: refs/heads/master@{#433731}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Unmodifiable #Patch Set 3 : Don't pass null into Collections.unmodifiable() #
Messages
Total messages: 22 (15 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||