W3C home > Mailing lists > Public > public-payments-wg@w3.org > February 2016

Re: [paymentrequest] Payment App Registration: Same Origin is problematic for identifying_url (#66)

From: Dave Longley <notifications@github.com>
Date: Wed, 24 Feb 2016 10:37:21 -0800
To: WICG/paymentrequest <paymentrequest@noreply.github.com>
Cc: webpayments <public-payments-wg@w3.org>
Message-ID: <WICG/paymentrequest/issues/66/188398581@github.com>
> It would be cleaner to have the user agent interrogate the
payment app to determine the list of supported payment methods.  Or, and I
think this is better, have the user agent pass through to the payment app
the list of methods the merchant supports, and the payment app responds
with the subset that is available.

I think that could work -- except there might be an authentication problem with this approach. The user needs to authenticate with the Payment App in order for it to be able to be respond (on behalf of the user) to the browser with what methods are available. This potentially brings up more questions than it answers -- like how the browser will get user consent and security credentials to authenticate with a variety of different Payment Apps? Right now, how authentication happens with a particular Payment App is of no consequence to the browser -- this may require breaking that abstraction.

---
Reply to this email directly or view it on GitHub:
https://github.com/WICG/paymentrequest/issues/66#issuecomment-188398581
Received on Wednesday, 24 February 2016 18:37:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:43:14 UTC