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

Should the web page be able to provide status information before calling complete() #5

Closed
adrianba opened this issue Mar 2, 2016 · 5 comments

Comments

@adrianba
Copy link
Contributor

adrianba commented Mar 2, 2016

This issue comes from WICG/paymentrequest#32 and was discussed at the F2F.

The resolution at the F2F meeting was:

Include user message feature in spec and ask for feedback.

@adrianba adrianba self-assigned this Mar 2, 2016
@mattsaxon mattsaxon added this to the Priority: Medium milestone Mar 21, 2016
@adrianhopebailie
Copy link
Collaborator

In TAG review @triblondon said:

Yes. Unless the API can set out guarantees or limits on the duration of the merchant's payment processing, it must support feedback. It's also out of the scope of this API to understand whether a payment method contains distinct phases to its settlement process, and if it does, but those cannot be surfaced, PR may be an inferior user experience to the current methods available to merchants.

@adrianhopebailie
Copy link
Collaborator

This seems like a useful thing to offer the website developer but I don't think we can provide any guarantee that the user agent is able to deliver it to the app that has the focus.

So that begs the question, should we do it all or do it and put a warning in the spec that sometimes the interface between the browser and app may not allow for this message to get to the app.

@ianbjacobs
Copy link
Collaborator

@adrianhopebailie,

Please suggest a phrasing that involves conformance (e.g., "the user agent MAY ....." or "the user agent is NOT REQUIRED to ....").

Ian

@adrianhopebailie
Copy link
Collaborator

@ianbjacobs,

At this stage there is no mechanism described in the API to do this so there is not conformance required. If this is added then I would suggest that the conformance will be:

"The user agent SHOULD notify the user of processing events via the UI" or something like that.

@adrianhopebailie adrianhopebailie modified the milestones: Priority: Low, Priority: Medium Apr 10, 2016
@adrianhopebailie adrianhopebailie modified the milestone: Priority: Low Apr 22, 2016
@marcoscaceres
Copy link
Member

Given what we've learned over the last year from implementing these UIs (and the feedback they provide to users about what is going on in the flow), I think it's safe to close this.

Please let me know if you think we should reopen.

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

No branches or pull requests

5 participants