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

Rich merchant details displayed in the payment confirmation dialog #48

Closed
tblachowicz opened this issue Apr 1, 2021 · 3 comments
Closed
Labels
enhancement New feature or request

Comments

@tblachowicz
Copy link
Contributor

Currently, in the pilot implementation, only the domain name of the merchant website is displayed in the payment confirmation dialog. I'd like to propose to enhance the visual representation of the merchant by displaying also the title and favicon of the page from which SPC request has been triggered. Of course, it's the subject of the availability of the data.

@stephenmcgruer
Copy link
Collaborator

Does allowing a payeeName to be specified (issue #163) address the request here? I see that favicon support is requested too, but it isn't clear to me how/where the browser might display that. If you could provide a mock-up of how this information might be presented to the use, that would be great.

@stephenmcgruer
Copy link
Collaborator

For reference, this is the current UX in Chromium - albeit note that a browser is able to implement this as they wish as long as they meet the spec requirements.

image

The caller-specified fields shown here map to (from top-to-bottom, left-to-right):

  • payeeOrigin
  • instrument.icon
  • instrument.displayName
  • amount.currency (from PaymentRequest)
  • amount.value

@ianbjacobs
Copy link
Collaborator

After discussion with the Chairs and Editors we are closing this issue having added payeeName to the display as a result of a separate issue. We also anticipate other more specific issues are going to be opened as a result of EMVCo review of the API, and so are closing this one.

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

No branches or pull requests

3 participants