19 ms·
This is not a new API AFAIK. The Payment API[0] has been around for a while. MDN's got the full skinny [1]. [0]: https://webkit.org/blog/8182/introducing-the-p
by jkingsman 4y ago
This is not a new API AFAIK. The Payment API[0] has been around for a while. MDN's got the full skinny [1].
[0]: https://webkit.org/blog/8182/introducing-the-payment-request-api-for-apple-pay/ https://webkit.org/blog/8182/introducing-the-payment-request...
[1]: https://developer.mozilla.org/en-US/docs/Web/API/Payment_Request_API#browser_compatibility https://developer.mozilla.org/en-US/docs/Web/API/Payment_Req...
- hk1337 4y agoIs this intended for actual non-Safari browsers like actual Chrome or Firefox on iOS or just what there is now where Chrome and Firefox on top of the same WebKit engine as Safari?
- MBCook 4y agoEverything is still Safari underneath. That’s probably never changing as long as Apple has a say (that new EU law may force it). But this would mean you could use ApplePay from the current FireFox app.
- pmontra 4y agoLetting all browsers with a Safari engine use all the features of Safari-Safari fed be a way to nudge users to keep using Safari browsers instead of other browser engines, when that EU law forces Apple to open up the platform. The other browsers could be forever behind is iOS features. However that's going to make the browser experience closer to native.
- jefftk 4y agoI'm glad Apple is opening up features for other browsers to use on iOS, but I don't understand how this nudges users? As soon as it is permitted, Firefox, Chrome, etc will switch from their WebKit based implementations to using their own engines.
- pmontra 4y agoI might be wrong but if the upgrade from Chrome-Safari to Chrome-Chrome means that users lose Apple Pay inside the browser, something they just got used to have, maybe they switch to Safari-Safari to keep the feature.
- freediver 4y agoYou mean everything is WebKit underneath. Safari and Chrome on iOS are very different browsers.
- vinay427 4y agoNo, I believe they meant Safari underneath, which is often used as shorthand for the specific rendering engine based on WebKit that powers Safari on iOS and comes with its own quirks. Chrome does not use the same engine on any other platform as it has deviated significantly. The section on “Apple’s Open Source Claim” in this blog post [1] goes into a lot more detail on the relationship between Safari, WebKit, and the Chrome/Chromium rendering engine. [1] https://infrequently.org/2021/08/webkit-ios-deep-dive/ https://infrequently.org/2021/08/webkit-ios-deep-dive/
- 8191 4y agoI have 15.6 stable installed and when opening the Stripe test page I receive an error in Firefox (“Either your browser does not support the Payment Request API, or you do not have a saved payment method.”)
- altairprime 4y agoiOS 16 beta apparently provides the framework updates necessary for third-party iOS App Store browsers to use it. So you won’t be able to use it on 15.X unless they backport, which is unlikely.
- ceejayoz 4y agoStripe's demo doesn't work on desktop Firefox, either. > Either your browser does not support the Payment Request API, or you do not have a saved payment method. To try out the Payment Request Button live demo, switch to one of the supported browsers below, and make sure you have a saved payment method.
- altairprime 4y agoDesktop Firefox doesn’t use the Apple WebKit engine on the backend, so that’s up to the Firefox Desktop team to implement on their own (and tie into the OS native if available, which I suspect depends on you running the latest macOS beta, assuming they’re working on it yet). EDIT: Which they’re not, per above.
- freediver 4y agoApple Pay does not work in non-Safari WebKit browsers on macOS as of Ventura beta 4.
- nickshearer 4y agoFirefox doesn't implement Payment Request, so no Payment Request based payment methods would work.
- lwansbrough 4y agoThe API isn't new but being able to use it in 3rd party browsers on iOS is.