Support for Abort() being delegated to Payment Handler #117
Comments
mattsaxon
referenced
this issue
in w3c/browser-payment-api
Mar 24, 2017
Open
Aborting of in progress push payments #473
|
Let's make this only optional, please. |
mattsaxon
commented
Mar 24, 2017
|
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. |
mattsaxon
commented
Apr 4, 2017
|
Related to Issue 473 in PR |
|
Per discussion on the Payment Apps TF call:
ProposalAdd a |
ianbjacobs
added this to the
Mark in FPWD
milestone
Apr 4, 2017
|
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. |
mattsaxon commentedMar 24, 2017
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?