We need a way to delegate canMakePayment() and abort()-including UI aborted from PaymentRequest to PaymentHandler.
Rouslan already has sent a pull request to solve the problem.
- https://github.com/w3c/payment-handler/pull/170
> respondWith(true) if there is no event handler.
That is correct for CanMakePayment event. As for AbortPayment event, we want respondWith(false) by default.
Comment 1 by bugdroid1@chromium.org
, Jul 6 2017