Limited Availability
Payments
id: payment-handler
Payment handler
The payment handler API registers a web application as a payment handler and responds to payment requests in the browser's user interface, rather than redirecting users to a separate site to complete a payment.
Baseline Status:
This feature is currently Limited and is missing in at least one major browser engine.
Desktop Browser Engine Support
Google Chrome
70
Supported
Mozilla Firefox
—
Unsupported
Apple Safari
—
Unsupported
Microsoft Edge
79
Supported
Mobile Browser Engine Support
Chrome Android
70
Firefox Android
—
Safari iOS
—
Specifications and References
MDN Browser Compat Data Keys:
api.CanMakePaymentEvent ↗
api.CanMakePaymentEvent.CanMakePaymentEvent ↗
api.CanMakePaymentEvent.respondWith ↗
api.PaymentManager ↗
api.PaymentManager.enableDelegations ↗
api.PaymentManager.secure_context_required ↗
api.PaymentManager.userHint ↗
api.PaymentRequestEvent ↗
api.PaymentRequestEvent.PaymentRequestEvent ↗
api.PaymentRequestEvent.changePaymentMethod ↗
api.PaymentRequestEvent.changeShippingAddress ↗
api.PaymentRequestEvent.changeShippingOption ↗
api.PaymentRequestEvent.methodData ↗
api.PaymentRequestEvent.modifiers ↗
api.PaymentRequestEvent.openWindow ↗
api.PaymentRequestEvent.paymentOptions ↗
api.PaymentRequestEvent.paymentRequestId ↗
api.PaymentRequestEvent.paymentRequestOrigin ↗
api.PaymentRequestEvent.respondWith ↗
api.PaymentRequestEvent.shippingOptions ↗
api.PaymentRequestEvent.topOrigin ↗
api.PaymentRequestEvent.total ↗
api.Permissions.permission_payment-handler ↗
api.ServiceWorkerGlobalScope.canmakepayment_event ↗
api.ServiceWorkerGlobalScope.paymentrequest_event ↗
api.ServiceWorkerRegistration.paymentManager ↗