Intent to Implement and Ship: basic-card support in PaymentRequest

223 views
Skip to first unread message

Rouslan Solomakhin

unread,
Nov 22, 2016, 7:55:08 PM11/22/16
to blink-dev

Contact emails

rou...@chromium.org, zk...@chromium.org


Spec

https://w3c.github.io/webpayments-methods-card/


Tag review


Summary

Payment Method specification for use with the PaymentRequest API. Enables merchants to collect the basic card details (card holder name, card number, etc.) through the PaymentRequest API that they have traditionally collected through Web forms, but with an improved user experience.


Motivation

Chrome currently supports the older version of the basic card spec:


new PaymentRequest([{supportedMethods: ["visa", "mastercard", "amex"]}, shoppingCartContents);


The spec has changed to distinguish between debit, credit, and prepaid cards:


new PaymentRequest([{supportedMethods: ["basic-card"],

data: {

supportedTypes: ["debit", "prepaid"],

supportedNetworks: ["visa", "mastercard", "amex"]}

}], shoppingCartContents);


Chrome plans to continue supporting the old version of the spec and also add support for the new version


Interoperability risk

Firefox: Public support Edge: Public support Safari: No public signals Web Developers: No signals


Compatibility risk

Low: Other browser have not implemented PaymentRequest yet.


Ongoing technical constraints

None


Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?

This feature is supported everywhere PaymentRequest is supported. This is currently Android. Support is coming to all other platforms except Android WebView, where PaymentRequest is not planned to be implemented.


OWP launch tracking bug

http://crbug.com/665190


Link to entry on the feature dashboard

https://www.chromestatus.com/feature/5408502604365824


Requesting approval to ship?

Yes

Chris Harrelson

unread,
Nov 29, 2016, 9:48:10 AM11/29/16
to Rouslan Solomakhin, blink-dev
LGTM1

--
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+unsubscribe@chromium.org.

TAMURA, Kent

unread,
Dec 8, 2016, 1:27:09 AM12/8/16
to Chris Harrelson, Rouslan Solomakhin, blink-dev
LGTM2

--
TAMURA Kent
Software Engineer, Google


Dimitri

unread,
Dec 8, 2016, 1:18:54 PM12/8/16
to blink-dev
LGTM3
Reply all
Reply to author
Forward
0 new messages