Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The respondWith()
method of the CanMakePaymentEvent
interface enables the service worker to respond appropriately to signal whether it is ready to handle payments.