3 ms·
Slight correction. It’s a candidate recommendation - not quite a standard. https://www.w3.org/TR/payment-request/ https://www.w3.org/TR/payment-request/ And A
by scarface74 7y ago
Slight correction. It’s a candidate recommendation - not quite a standard.
https://www.w3.org/TR/payment-request/ https://www.w3.org/TR/payment-request/
And Apple implements it.
https://developer.apple.com/documentation/apple_pay_on_the_web https://developer.apple.com/documentation/apple_pay_on_the_w...
Safari supports two JavaScript APIs that let you accept Apple Pay payments from customers on your website: Apple Pay JS, and the W3C Payment Request API. The Apple Pay JS API is analogous to the PassKit (Apple Pay and Wallet) framework, used for Apple Pay in apps. The Payment Request API is a W3C candidate API.
It seems to be supported across all browsers.
https://stripe.com/docs/stripe-js/reference https://stripe.com/docs/stripe-js/reference