Contact emails
dan...@chromium.org, rou...@chromium.org
Spec
https://w3c.github.io/payment-request/#merchantvalidationevent-interface
Summary
Merchant validation is the process by which a payment handler validates the identity of a merchant against some value (usually some cryptographic challenge response). Validated merchants are allowed to interface with a payment handler. The PaymentRequest's onmerchantvalidation event is invoked when the user agent requests merchant validation on behalf of a selected payment handler.
Example flow: https://github.com/w3c/payment-request/issues/646
Motivation
Merchant validation gives payment providers a mechanism to enforce their guidelines with merchants (e.g. no porn or weapons). Apple Pay and PayPal are two example payment methods that have this kind of authentication and validation mechanism. By standardizing this interface on Payment Request, it makes it easier for websites to interoperate with browser's builtin payment methods or 3rd party payment methods built using the Payment Handler API. This avoids divergent implementations of out-of-band validation mechanisms.
Interoperability risk
Firefox: shipped interface definition
Edge: No public signals
Safari: shipped
Web developers: Positive
Interop risk is low. The feature as currently specified is already shipped in Safari and used by Apple Pay. Firefox has shipped the interface definition that can be extended in the future for full support in payment handlers.
Compatibility risk
Low. This is a new feature for Payment Request API and Payment Handler API
Ongoing technical constraints
None.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux,
Chrome OS, Android, and Android WebView)?
No. Payment Request and its related APIs are not supported in Android WebView.
OWP launch tracking bug
http://crbug.com/867904
Link to entry on the Chrome Platform Status
https://www.chromestatus.com/features/5082085060509696
Requesting approval to ship?
No.