Re: [w3c/payment-handler] Add AbortPaymentEvent. (#207)

rsolomakhin commented on this pull request.



> +      <h2>
+        Aborting an invocation
+      </h2>
+      <p>
+        If the <a>payee</a> uses [[!payment-request]] method <a>abort()</a>,
+        the <a>user agent</a> fires <a>AbortPaymentEvent</a> in the <a>payment
+        handler</a> that is currently handling <a>PaymentRequestEvent</a>.
+        There is no expectation that the <a>payment handler</a> would roll back
+        a transaction or issue a refund. (This is out of scope.) The <a>payment
+        handler</a> should respond with a boolean that indicates whether the
+        abort was successful.
+      </p>
+      <p>
+        Implementations may impose a timeout for developers to respond to the
+        <a>AbortPaymentEvent</a>. If the timeout expires, then the
+        implementation will behave as if <a data-lt=

That's a neat trick, thank you!

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-handler/pull/207#discussion_r154541489

Received on Sunday, 3 December 2017 23:45:17 UTC