Re:Tell HN: Apple Pay works in non-Safari browsers in iOS 16...
by 8191 on Friday July 29, 2022 @03:01PM
(#32280594)
I 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.”)
Re:Tell HN: Apple Pay works in non-Safari browsers in iOS 16...
by altairprime on Friday July 29, 2022 @03:07PM
(#32280643)
iOS 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.
Re:Tell HN: Apple Pay works in non-Safari browsers in iOS 16...
by ceejayoz on Friday July 29, 2022 @03:20PM
(#32280769)
Stripe'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.
Re:Tell HN: Apple Pay works in non-Safari browsers in iOS 16...
by altairprime on Friday July 29, 2022 @03:39PM
(#32280973)
Desktop 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.
Re:Tell HN: Apple Pay works in non-Safari browsers in iOS 16...
by freediver on Friday July 29, 2022 @07:35PM
(#32282889)
Apple Pay does not work in non-Safari WebKit browsers on macOS as of Ventura beta 4.
Re:Tell HN: Apple Pay works in non-Safari browsers in iOS 16...
by nickshearer on Friday July 29, 2022 @03:50PM
(#32281068)
Firefox doesn't implement Payment Request, so no Payment Request based payment methods would work.
Re:Tell HN: Apple Pay works in non-Safari browsers in iOS 16...
by ceejayoz on Friday July 29, 2022 @03:55PM
(#32281124)
It's implemented but off by default; there's a `dom.payments.request.enabled` feature flag, but it doesn't make the Stripe demo work.
Re:Tell HN: Apple Pay works in non-Safari browsers in iOS 16...
by lwansbrough on Friday July 29, 2022 @03:10PM
(#32280673)
The API isn't new but being able to use it in 3rd party browsers on iOS is.
Re:Tell HN: Apple Pay works in non-Safari browsers in iOS 16...
by hk1337 on Friday July 29, 2022 @03:12PM
(#32280691)
Is 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?
Re:Tell HN: Apple Pay works in non-Safari browsers in iOS 16...
by MBCook on Friday July 29, 2022 @03:20PM
(#32280770)
Everything 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.
Re:Tell HN: Apple Pay works in non-Safari browsers in iOS 16...
by pmontra on Friday July 29, 2022 @04:40PM
(#32281511)
Letting 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.
Re:Tell HN: Apple Pay works in non-Safari browsers in iOS 16...
by jefftk on Friday July 29, 2022 @06:53PM
(#32282611)
I'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.
Re:Tell HN: Apple Pay works in non-Safari browsers in iOS 16...
by pmontra on Saturday July 30, 2022 @12:18AM
(#32284245)
I 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.
Re:Tell HN: Apple Pay works in non-Safari browsers in iOS 16...
by freediver on Friday July 29, 2022 @05:04PM
(#32281755)
You mean everything is WebKit underneath. Safari and Chrome on iOS are very different browsers.
Re:Tell HN: Apple Pay works in non-Safari browsers in iOS 16...
by vinay427 on Saturday July 30, 2022 @06:08AM
(#32285585)
No, 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.
[0]: https://webkit.org/blog/8182/introducing-the-payment-request...
[1]: https://developer.mozilla.org/en-US/docs/Web/API/Payment_Req...