Proposal to remove address and other top-level data support from Payment Request API

Dear Web Payments Working Group,

Yesterday I created a pull request to remove a number of features from Payment Request:
  https://github.com/w3c/payment-request/pull/955

Here is a preview of the impact of the pull request:
   https://pr-preview.s3.amazonaws.com/w3c/payment-request/pull/955.html

This pull request removes support for addresses and payer contact information at the “top level.” It is still possible with the API for merchants to request such data via the payment method data (as is done with Apple Pay and Google Pay). The API still supports dynamic total updates after the user selects a payment instrument in a payment app, but the information used by the merchant will come from the payment app, not the browser.

The primary reason for this edit is to endeavor to close issue 842 [1], but there are likely some additional benefits:

* The specification will be leaner and probably easier to use.
* It could make it easier to add new features (e.g., SPC)

I will add this for discussion to our 29 April teleconference [2].

I welcome your feedback on this proposal (preferably via GitHub). This includes thumbs up or down labels. 

Thank you,

Ian

[1] https://github.com/w3c/payment-request/issues/842
[2] https://github.com/w3c/webpayments/wiki/Agenda-20210429
--
Ian Jacobs <ij@w3.org>
https://www.w3.org/People/Jacobs/
Tel: +1 718 260 9447

Received on Thursday, 22 April 2021 12:42:02 UTC