Primary eng and PM emails
rou...@chromium.org, zk...@chromium.org
Summary
We plan to deprecate using card issuer network names ("visa", "mastercard", "amex", etc) in supportedMethods field of PaymentRequest and remove this feature in January 2018.
Motivation
The basic card payment method spec has changed from using the issuer network names as payment method identifiers to using "basic-card". The issuer network names now go into supportedNetworks sub-field that's specific for "basic-card" payment method name.
Interoperability and Compatibility Risk
Edge has shipped basic card implementation without support for using card issuer network names in supportedMethods. Only "basic-card" is supported.
Firefox is currently implementing the basic card payment method spec in its latest incarnation, which has only "basic-card" as the payment method name.
Safari has not implemented PaymentRequest.
In summary, only Chrome has support for using network names as supported methods.
Alternative implementation suggestion for web developers
To achieve the same results, instead of the following code:
new PaymentRequest(
[{
supportedMethods: ['visa', 'mastercard', 'amex']
}],
shoppingCart);
The web developers should use the following code:
new PaymentRequest(
[{
supportedMethods: ['basic-card'],
data: {supportedNetworks: ['visa', 'mastercard', 'amex']}
}],
shoppingCart);
Usage information from UseCounter
Use counter is being added in https://chromium-review.googlesource.com/506748.
OWP launch tracking bug
Entry on the feature dashboard
https://www.chromestatus.com/feature/5725727580225536
Requesting approval to remove too?
No--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY_bPc56WAyJ_vM9bTpCosO6TQo5Z_8tHaSd%2BeiC6q2uXw%40mail.gmail.com.