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

Can the merchant influence order of presentation of payment apps to the user #23

Closed
adrianba opened this issue Mar 3, 2016 · 3 comments
Assignees
Labels
Core Functionality Priority: Low question security-tracker Group bringing to attention of security, or tracked by the security Group but not needing response.

Comments

@adrianba
Copy link
Contributor

adrianba commented Mar 3, 2016

This issue was discussed at the F2F.

The discussion suggested that we should support merchants specifying a preference and allow users to express a preference that overrides merchant preferences.

@mattsaxon mattsaxon added security-tracker Group bringing to attention of security, or tracked by the security Group but not needing response. Core Functionality labels Mar 21, 2016
@mattsaxon mattsaxon added this to the Priority: Low milestone Mar 21, 2016
@adrianhopebailie
Copy link
Collaborator

In TAG review @triblondon said:

#23 and #4 discuss the ability for merchants to express a payment method preference and to charge differently for different payment methods. Merchant preference seems basically meaningless unless there is a charge element - the user has no reason to choose a particular payment method simply because the merchant wants them to, but they would certainly be swayed if using one method added a surcharge. Perhaps the simplest way to model that would be to have the merchant pre-calculate a supplement charge to attach to the payment method at the PaymentRequest level, rather than polluting the PaymentDetails items dictionary with multiple additional charges per item (this is suggested in #4 (comment), which I agree with). I'm concerned that any potential desire to add granularity to the cost of an individual item will get multi-dimensional very quickly - eg supporting different charges based on payment method, and also expressing pricing in different currencies, you would need a value for each intersection of that possibility space.

@ianbjacobs
Copy link
Collaborator

At the 8 September teleconference [1] we discussed a use case raised by Max [2].

Here is my understanding of our current approach to balancing merchant preferences and user preferences:

  • Merchants express order preferences through payment method order (in payment request API) and through recommended apps (in the still draft payment apps spec).
  • Browsers would respect those order preferences by default, but MAY provide users with additional services to order apps according to user preferences. The WPWG will not standardize those preferences, but a variety of ideas have come up such as putting recommended payment apps in a privileged position; or when a user is visiting a site and has an app with the same origin displaying that app in a privileged position; or when the browser detects usage patterns for a payment app across sites, the browser might show that one in a favorable position; or the browser might allow the user to specify a preferred order; etc.

Thus, I believe the current approach is to let merchants express preferences and assume users will also be able to do so, and then allow the browser to take that data into account to do the right thing from the user's perspective (also honoring merchant preferences to the extent possible).

I am reopening this issue to reconfirm (or change) this approach, and to see whether any other merchant preference mechanisms would help address the use case identified by Max.

Ian

[1] https://www.w3.org/2016/09/08-wpwg-minutes.html#item02
[2] https://github.com/w3c/webpayments/blob/gh-pages/proposals/payment_app_user_experience.markdown

@ianbjacobs ianbjacobs reopened this Sep 8, 2016
@adrianba
Copy link
Contributor Author

There doesn't appear to be any new information presented here. I believe this comment reiterates the text in the spec that was added in PR #140. If this text is insufficient then please reopen this issue proposing new text otherwise I believe the spec accurately describes the WG consensus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Functionality Priority: Low question security-tracker Group bringing to attention of security, or tracked by the security Group but not needing response.
Projects
None yet
Development

No branches or pull requests

4 participants