Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Payment link type in HTML #1015

Open
1 task done
ynyhxfo opened this issue Nov 15, 2024 · 3 comments
Open
1 task done

Payment link type in HTML #1015

ynyhxfo opened this issue Nov 15, 2024 · 3 comments
Assignees

Comments

@ynyhxfo
Copy link

ynyhxfo commented Nov 15, 2024

こんにちは TAG-さん!

I'm requesting an early TAG design review of Payment link type in HTML.

Certain push payment flows can cause high friction for users (e.g. display of a QR code that the user needs to scan with an eWallet app). Browsers may have the ability to more easily facilitate these payment flows (e.g. if the user has a wallet installed on their device that supports the underlying payment method for the displayed QR, or has a browser extension for the supported eWallet). Payment link type in HTML is designed to better assist users with payments.

Further details:

  • I have reviewed the TAG's Web Platform Design Principles
  • The group where the incubation/design work on this is being done (or is intended to be done in the future): WICG
  • The group where standardization of this work is intended to be done ("unknown" if not known): WHATWG (HTML Standard)
  • Existing major pieces of multi-implementer review or discussion of this design: TPAC 2023
  • Major unresolved issues with or opposition to this design: None
  • This work is being funded by: Google

You should also know that...

The public design doc for the Chromium implementation might also be interesting, as it has more concrete details on what a full implementation will look like, and on one browser's concrete plans for the initial set of supported URL schemes.

@ynyhxfo
Copy link
Author

ynyhxfo commented Nov 26, 2024

We're going back to add Prior Art and Alternatives Considered to our explainer. We'll post again when that's done.

@torgo
Copy link
Member

torgo commented Jan 8, 2025

Hi @ynyhxfo thanks for sending this our way and apologies it's taken so long to get some feedback to you. Looking at this, it looks like it's sitting in WICG but it's payment related. There's no discussion of web payment in the explainer. Can you let us know how this relates to web payment, if at at all, and what the plan is to bring this out of WICG into a more long-term home?

@maxpassion maxpassion self-assigned this Jan 8, 2025
@ynyhxfo
Copy link
Author

ynyhxfo commented Jan 11, 2025

Hi @torgo ,

Happy new year and thanks for your feedback!

To answer your question about the relationship between this proposal and web payment
This proposal aims to improve the user experience of push payments on the web. While it doesn't introduce a new payment mechanism itself, it provides a way for browsers to passively detect push payment options on a page and offer users a potentially better experience through digital wallets or payment extensions. Compared to the existing web payment APIs like Payment Request, which is a defined as a primary mechanism, this proposal is to potentially help a user agent accelerate a payment which will be presented to the user via other means (e.g. QR code).

Regarding the venue for this proposal
We believe HTML is the appropriate venue for standardization because:

  • Link relations: All browser-understood link relations are defined in the HTML specification. This proposal introduces a new link relation (rel="facilitated-payment"), making HTML the natural fit.
  • Hint mechanism: This proposal acts as an acceleration hint, providing an optional, additional way to convey payment information already present on the page. It doesn't define a new payment mechanism, thus avoiding the complexities of other payment APIs and their standardization processes.

We're open to discussing this further and exploring alternative venues if necessary. However, we believe that standardizing this feature within the HTML specification offers the most straightforward and consistent approach.

Note
We're working on prior art consideration work for this proposal and we've decided to rename the payment keyword in the rel attribute to facilitated-payment. This is based on the conflict of microformat's rel='payment' proposal, and the existing defined payment keyword in IANA registry. We'll modify this request issue very soon with the latest alignment.

Thanks,
Junhui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants