Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

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

470 views
Skip to first unread message

Junhui He

unread,
May 8, 2024, 2:46:35 PM5/8/24
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 PM5/8/24
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 PM5/20/24
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.

Junhui He

unread,
Oct 29, 2024, 4:57:22 PM10/29/24
to blin...@chromium.org, Aneesh Ali Nainamvalappil Cheriyakath, Rouslan Solomakhin, Sujie Zhu, Shonan Shah, Archana Malhotra, Siddharth Shah, Stephen McGruer
The paymentlink repo including explainer is moved to WICG at https://github.com/WICG/paymentlink.

Junhui He

unread,
Nov 15, 2024, 6:31:58 PM11/15/24
to blin...@chromium.org, Aneesh Ali Nainamvalappil Cheriyakath, Rouslan Solomakhin, Sujie Zhu, Shonan Shah, Archana Malhotra, Siddharth Shah, Stephen McGruer
External review requested:

WebKit standard position review: https://github.com/WebKit/standards-positions/issues/428
Mozilla standard position review: https://github.com/mozilla/standards-positions/issues/1112

Junhui He

unread,
2:06 PM (3 hours ago) 2:06 PM
to blin...@chromium.org, Aneesh Ali Nainamvalappil Cheriyakath, Rouslan Solomakhin, Sujie Zhu, Shonan Shah, Archana Malhotra, Siddharth Shah, Stephen McGruer
Following our prior art considerations for the payment link type proposal, we've decided to rename the `payment` keyword to `facilitated-payment` in the `rel` attribute. This is based on the conflict of microformat's rel='payment' proposal, and the existing defined `payment` keyword in IANA registry.
Reply all
Reply to author
Forward
0 new messages