Intent to Prototype: Link rel=payment to support push payments

289 views
Skip to first unread message

Junhui He

unread,
May 8, 2024, 2:46:35 PMMay 8
to blin...@chromium.org, Aneesh Ali Nainamvalappil Cheriyakath, Rouslan Solomakhin, Sujie Zhu, Shonan Shah, Archana Malhotra, Siddharth Shah, Stephen McGruer

Contact emails

anee...@google.comjunh...@google.com

Explainer

https://github.com/aneeshali/paymentlink/blob/main/docs/explainer.md

Summary

Adds support for <link rel="payment" href="..."> as a hint that the browser should notify registered payment clients about a pending push payment. When Blink encounters this HTML element, then it will send a message to the browser to display the user's interface to ask the user if they would like to invoke Google Pay to assist payments on this page.


Blink component

Blink>Payments

Motivation

This feature lets the browser assist users in push-based payment flows by facilitating the transfer of payment information between the payment provider (on the payee side) and the payment client (on the payer side). The feature lays the foundation for payment integrators in streamlining push-based payment flows, towards a consistent and low-friction user experience.


Risks

Interoperability and Compatibility

We're not aware that anybody else uses payment link <link rel="payment">.


Gecko: No signal

WebKit: No signal

Web developers: No signals

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None


Flag name on chrome://flags

#enable-payment-link-detection

Finch feature name

"EnablePaymentLinkDetection"

Requires code in //chrome?

True - Detection of the payment link does not need coding //chrome, but code in //chrome will eventually be required to invoke Google Pay APIs.

Tracking bug

https://crbug.com/1477049

Estimated milestones

M132


Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5198846820352000?gate=5076188191522816

Junhui He

unread,
May 8, 2024, 4:32:06 PMMay 8
to blin...@chromium.org, Aneesh Ali Nainamvalappil Cheriyakath, Rouslan Solomakhin, Sujie Zhu, Shonan Shah, Archana Malhotra, Siddharth Shah, Stephen McGruer
WICG proposal was sent out at https://github.com/WICG/proposals/issues/150

Junhui He

unread,
May 20, 2024, 6:44:29 PMMay 20
to blin...@chromium.org, Aneesh Ali Nainamvalappil Cheriyakath, Rouslan Solomakhin, Sujie Zhu, Shonan Shah, Archana Malhotra, Siddharth Shah, Stephen McGruer
The public version of HTML payment link design doc is available at bit.ly/html-payment-link-dd.
Reply all
Reply to author
Forward
0 new messages