Right now, it is not easy for PH to detect the window is closing/closed (note that 'beforeunload' event can be triggered by page navigation and refresh). And UA may provide different ways to let users close the window to abort payment request in the middle. So I would like to suggest we let UA handles closing opened window so as to abort payment request and send 'AbortPaymentEvent' to the service worker without waiting for result.
Ideas?