Added support to restrict the set of supported basic-card networks for a...
Added support to restrict the set of supported basic-card networks for a payment request (e.g., accept only visa cards). An optional array of card issuers (e.g., `visa`, `mastercard`, ...) can now be specified in GetPaymentInformationProto. The default is as before: all cards are allowed. If the field is non-empty, the PaymentRequestUI will only show the subset of basic-card payment methods that matches the specified cards. Also, interactively adding payment methods will be restricted to the specified cards only. In the future, we may want to expand the proto even further as defined by the w3c specification for payment requests (https://www.w3.org/TR/payment-request/), but for now this filter should be good enough (we currently only support basic-card payment methods). Bug: 806868 Change-Id: I41b3017c06104045699818f8fe5a98bb63927ea4 Reviewed-on: https://chromium-review.googlesource.com/c/1307447 Commit-Queue: Clemens Arbesser <arbesser@google.com> Reviewed-by:Ganggui Tang <gogerald@chromium.org> Cr-Commit-Position: refs/heads/master@{#604537}
Showing
Please register or sign in to comment