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. To learn more, see CanMakePaymentEvent, CanMakePaymentEvent: CanMakePaymentEvent() constructor, CanMakePaymentEvent: respondWith() method, PaymentManager, PaymentManager: enableDelegations() method, PaymentManager: userHint property, Payment Handler API, PaymentRequestEvent: PaymentRequestEvent() constructor, PaymentRequestEvent: changePaymentMethod() method, PaymentRequestEvent: instrumentKey property, PaymentRequestEvent: methodData property, PaymentRequestEvent: modifiers property, PaymentRequestEvent: openWindow() method, PaymentRequestEvent: paymentRequestId property, PaymentRequestEvent: paymentRequestOrigin property, PaymentRequestEvent: respondWith() method, PaymentRequestEvent: topOrigin property, PaymentRequestEvent: total property, ServiceWorkerGlobalScope: canmakepayment event, ServiceWorkerGlobalScope: paymentrequest event, ServiceWorkerRegistration: paymentManager property at MDN.
Compatibility
- Chrome 70 Released on 2018-10-16
- Chrome Android 70 Released on 2018-10-17
- Edge 79 Released on 2020-01-15
- Firefox ❌ Search for bugs Search for standards position
- Firefox for Android ❌ Search for bugs Search for standards position
- Safari ❌ Search for bugs Search for standards position
- Safari on iOS ❌ Search for bugs Search for standards position
Specifications
- Payment Handler API, from Web Payments Working Group (W3C).