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

Clarification on Payment App "Options" #90

Closed
zkoch opened this issue Jan 18, 2017 · 4 comments
Closed

Clarification on Payment App "Options" #90

zkoch opened this issue Jan 18, 2017 · 4 comments

Comments

@zkoch
Copy link

zkoch commented Jan 18, 2017

In the registration example, I see there is a mechanism to explicitly list (and "name") available payment options within the payment app. Is it assumed that the UA will show all of those options that match? I'm unclear from reading the spec (sorry if I missed it)?

@zkoch
Copy link
Author

zkoch commented Jan 18, 2017

Ah, now I see in 9.2 this bit:

The user agent must enable the user to select any matching payment app options.

If this means we must show, for example, "Visa ending ****4756" inside of our UI, I would be strongly opposed to this.

@ianbjacobs
Copy link
Contributor

See 4.6:

The user agent may offer features to facilitate selection. For example, instead of merely displaying information about a payment app that supports cards, the user agent could display some representation of individual cards stored in the payment app. If the user can select an option directly, that could contribute to reducing the total number of required user actions. User agents might also enable the user to optimize payments using certain payment apps on certain Web sites. User experience optimizations such as these lie outside the scope of this specification.

9.2 is not meant to require display of options. It's meant to say "If you are doing options and they match, then the user should be able to select the matching ones."

@ianbjacobs
Copy link
Contributor

We discussed this on the 9 Feb call:
http://www.w3.org/2017/02/09-wpwg-minutes.html

Some notes in particular:

  • There was consensus that we should not require UAs to display option information provided by the payment app. (That is: "MAY" or "SHOULD" rather than "MUST").
  • It was pointed out that the UX that is best for mobile may be different for desktop, and therefore we should continue to discuss in the task force API support for providing the information to the user agent.
  • We asked about the experience so far in native, and from Google we heard that they are only providing app-level presentation on mobile. We are also asking other implementers for their experience.

Ian

@ianbjacobs
Copy link
Contributor

I am closing this issue in favor of issue #98, which I believe more comprehensively addresses the topic of how much granularity / how many levels we want to be able to expression.

I will carry to that issue the consensus point that if we provide options to the UA, the UA should not be required to display them.

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

No branches or pull requests

2 participants