Intent to Remove: Basic Card Type

瀏覽次數:155 次
跳到第一則未讀訊息

Rouslan Solomakhin

未讀,
2019年7月8日 下午12:39:152019/7/8
收件者:blink-dev、Justin Toupin、sa...@chromium.org、Danyao Wang
Contact emails

Specification:
https://w3c.github.io/payment-method-basic-card/#basiccardrequest-dictionary

Summary
Specifying "supportedTypes":[type] parameter for "basic-card" payment method shows cards of only the requested type, which is one of "credit", "debit", or "prepaid". The card type parameter has been removed from the spec, because of the difficulty of accurate card type determination. Merchants today must check card type with their PSP, because they cannot trust the card type filter in the browser:
  1. Only issuing banks know the card type with certainty and downloadable card type databases have low accuracy, so it's impossible to know accurately the type of the cards stored locally in the browser.
  2. "basic-card" payment method in Chrome no longer shows cards from Google Pay, which may have connections with issuing banks.
Firefox has removed "supportedTypes" in version 65.

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
"supportedTypes" will be removed on all platforms except Android WebView, where Payment Request is disabled.

Is this feature fully tested by web-platform-tests?
No. It's difficult to automate testing card types.

Link to entry on the Chrome Platform Status

Use Counter:
Not yet implemented.

This intent message was generated by Chrome Platform Status.

Yoav Weiss

未讀,
2019年7月11日 下午2:19:192019/7/11
收件者:Rouslan Solomakhin、blink-dev、Justin Toupin、sa...@chromium.org、Danyao Wang
Any sense of usage? Do you know of any partners using it?
If folks have used it, do we think they implemented it with a fallback?

Otherwise, any particular reasons we shouldn't wait for usage data?


This intent message was generated by Chrome Platform Status.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAMMzaWETKVMGotnVxo5RHmnJyALjUkZj0zMicf6HbaqYLT_ExA%40mail.gmail.com.

Rouslan Solomakhin

未讀,
2019年7月11日 下午2:21:312019/7/11
收件者:Yoav Weiss、blink-dev、Justin Toupin、sa...@chromium.org、Danyao Wang
On Thu, Jul 11, 2019 at 2:19 PM Yoav Weiss <yo...@yoav.ws> wrote:


On Mon, Jul 8, 2019 at 6:39 PM Rouslan Solomakhin <rou...@chromium.org> wrote:
Contact emails

Specification:
https://w3c.github.io/payment-method-basic-card/#basiccardrequest-dictionary

Summary
Specifying "supportedTypes":[type] parameter for "basic-card" payment method shows cards of only the requested type, which is one of "credit", "debit", or "prepaid". The card type parameter has been removed from the spec, because of the difficulty of accurate card type determination. Merchants today must check card type with their PSP, because they cannot trust the card type filter in the browser:
  1. Only issuing banks know the card type with certainty and downloadable card type databases have low accuracy, so it's impossible to know accurately the type of the cards stored locally in the browser.
  2. "basic-card" payment method in Chrome no longer shows cards from Google Pay, which may have connections with issuing banks.
Firefox has removed "supportedTypes" in version 65.

Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
"supportedTypes" will be removed on all platforms except Android WebView, where Payment Request is disabled.

Is this feature fully tested by web-platform-tests?
No. It's difficult to automate testing card types.

Link to entry on the Chrome Platform Status

Use Counter:
Not yet implemented.

Any sense of usage? Do you know of any partners using it?
If folks have used it, do we think they implemented it with a fallback?

Otherwise, any particular reasons we shouldn't wait for usage data?

Hi Yoav. I am waiting for usage data to be able to answer these questions and proceed further with this intent. I plan to reply to this email with usage stats in September 2019.

rou...@google.com

未讀,
2019年9月26日 上午9:56:122019/9/26
收件者:blink-dev、yo...@yoav.ws、jto...@google.com、sa...@chromium.org、dan...@chromium.org
To unsubscribe from this group and stop receiving emails from it, send an email to blin...@chromium.org.

Ian Clelland

未讀,
2019年9月26日 上午10:46:432019/9/26
收件者:Rouslan Solomakhin、blink-dev、Yoav Weiss、jto...@google.com、sa...@chromium.org、Danyao Wang
On Thu, Sep 26, 2019 at 9:56 AM rouslan via blink-dev <blin...@chromium.org> wrote:

Exactly zero usage was surprising, so I took a closer look -- I don't think this is being measured at all: using the [MeasureAs] IDL attribute on a dictionary doesn't seem to generate any code (or an error in the IDL compiler, which would have been helpful)

Chrome code search can't find any usage of WebFeature::kBasicCardType, and I would have expected a call to UseCounter::Count in v8_basic_card_request.cc, but there isn't one there.

Ian
 
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/5c9bcceb-5ce9-499f-90a9-cc6a83a7361c%40chromium.org.

Rouslan Solomakhin

未讀,
2019年9月26日 上午11:03:222019/9/26
收件者:Ian Clelland、blink-dev、Yoav Weiss、Justin Toupin、sa...@chromium.org、Danyao Wang
That explains a lot, thank you. I will manually count the usage in payment_request.cc and will report back to this thread when the data becomes available.

Alex Russell

未讀,
2019年9月26日 下午12:55:402019/9/26
收件者:blink-dev、icle...@chromium.org、yo...@yoav.ws、jto...@google.com、sa...@chromium.org、dan...@chromium.org
Thanks for keeping us updated. Any ETA on when that new data will be available?

Rouslan Solomakhin

未讀,
2019年9月26日 下午1:05:072019/9/26
收件者:Alex Russell、blink-dev、Ian Clelland、Yoav Weiss、Justin Toupin、sa...@chromium.org、Danyao Wang
My estimate is mid-December.

You received this message because you are subscribed to a topic in the Google Groups "blink-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/a/chromium.org/d/topic/blink-dev/5gxzhdS1KNs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/22bd16e9-6def-4de4-8567-37bf4d3b4a18%40chromium.org.

Rouslan Solomakhin

未讀,
2019年12月18日 上午8:03:502019/12/18
收件者:blink-dev、Rouslan Solomakhin、blink-dev、Ian Clelland、Yoav Weiss、Justin Toupin、sa...@chromium.org、Danyao Wang、Alex Russell
Stats show less than 0.000020% of page loads use "supportedType" for "basic-card" payment method: https://chromestatus.com/metrics/feature/timeline/popularity/2954. OK to remove?

To unsubscribe from this group and all its topics, send an email to blink-dev+unsubscribe@chromium.org.

Yoav Weiss

未讀,
2019年12月20日 上午1:32:402019/12/20
收件者:Rouslan Solomakhin、blink-dev、Ian Clelland、Justin Toupin、sa...@chromium.org、Danyao Wang、Alex Russell
LGTM1

Thanks for gathering that data! :)

To unsubscribe from this group and all its topics, send an email to blink-dev+...@chromium.org.

Chris Harrelson

未讀,
2019年12月20日 上午1:51:432019/12/20
收件者:Yoav Weiss、Rouslan Solomakhin、blink-dev、Ian Clelland、Justin Toupin、sa...@chromium.org、Danyao Wang、Alex Russell
LGTM2

To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEibf9kHcg_-mgtk7PV1J5cP3%2BuN%3D8Kg4Tv_QPRDx3qd7Q%40mail.gmail.com.

Philip Jägenstedt

未讀,
2019年12月20日 上午7:17:322019/12/20
收件者:Chris Harrelson、Yoav Weiss、Rouslan Solomakhin、blink-dev、Ian Clelland、Justin Toupin、sa...@chromium.org、Danyao Wang、Alex Russell
回覆所有人
回覆作者
轉寄
0 則新訊息