Click here to download the Blitz Browser!

WPT

wpt / web-based-payment-handler / can-make-payment-event.https.html

Spec: Web-based Payment Handler API ↗

Runs: Chrome 155.0.8039.0 (wpt@6ec9fd59f, 2026-09-03) | Firefox 157.0a1 (wpt@6ec9fd59f, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-795e1 (wpt@7e3d005d7, 2026-09-03) | Servo Servo 0.6 (wpt@09159dcb3, 2026-09-02) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total1/70/71/70/70/7NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
If a payment handler is not installed, but can be installed just-in-time, then the payment method is supported.FAILFAILFAILFAILFAIL
If a payment handler is not installed and cannot be installed just-in-time, then the payment method is not supported.PASSFAILPASSFAILFAIL
If CanMakePaymentEvent.respondWith(false) is called, then canMakePayment() still returns true and the app can still be invoked.FAILFAILFAILFAILFAIL
If CanMakePaymentEvent.respondWith(Promise.resolve(false)) is called, then canMakePayment() still returns true and the app can still be invoked.FAILFAILFAILFAILFAIL
If CanMakePaymentEvent.respondWith(true) is called, then canMakePayment() returns true and the app can be invoked.FAILFAILFAILFAILFAIL
If CanMakePaymentEvent.respondWith(Promise.resolve(true)) is called, then canMakePayment() returns true and the app can be invoked.FAILFAILFAILFAILFAIL
If CanMakePaymentEvent.respondWith(Promise.reject(error)) is called, then canMakePayment() still returns true and the app can still be invoked.FAILFAILFAILFAILFAIL