-
Notifications
You must be signed in to change notification settings - Fork 42
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
Support for Abort() being delegated to Payment Handler #117
Comments
Let's make this only optional, please. |
I think they would be fine, especially if this linked in with the state model such that when the status is 'processing' that calling abort() results in an exception. I could see additional states in his state model e.g. Interactive->pre-processing->processing which could more clearly specify the behaviour and set better expectations for users of the API. |
Related to Issue 473 in PR |
Per discussion on the Payment Apps TF call:
ProposalAdd a |
I've head support for this from payment app developers. There should be no expectation of rolling back or refunding a transaction in progress if |
Thanks Rouslan. As we discussed at the 23 May call [1], the sense I have is that an event (such as Adrian's proposal) would be a signal from the merchant, and the payment app could behave in a variety of ways (depending on payment method, status of payment, etc.) and inform the site of the outcome. |
Happy to review any pull requests. |
@adrianhopebailie, would you be willing to write up a pull request with your proposal? See notes from the 6 June apps task force call. Thanks! Ian |
I sketched a quick proposal in pull request #170. |
@rsolomakhin beat me to it! Thanks Rouslan |
Moved to a new pull request: Per discussion on 29 August, we are awaiting more implementation experience. |
After feedback from @marcoscaceres and further discussion with @rsolomakhin, |
In PaymentRequest, the statement "A user agent might not always be able to abort a request. For example, if the user agent has delegated responsibility for the request to another app. In this situation, abort() will reject the returned Promise."
Can the abort be delegated to a payment handler interface such that this statement invalid?
The text was updated successfully, but these errors were encountered: