Live data from Hacker News

Tell HN: Apple Pay works in non-Safari browsers in iOS 16 Beta 3

news.ycombinator.com

11–20 of 117 posts

Re: Tell HN: Apple Pay works in non-Safari browsers in iOS 16 Beta 3

#11
post #7

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... [1]: https://developer.mozilla.org/en-US/docs/Web/API/Payment_Req...

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?

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 Beta 3

#12

Has anyone ever managed to get Apple Pay working in non-Safari app on macOS?

It's supported on macOS - I know of a couple of desktop apps that use it. If you were running a Catalyst app on Mac that used Apple Pay it would work also. If you run into trouble you find me on Twitter (@nickjshearer) or the Apple Dev Forums.

[deleted]

Re: Tell HN: Apple Pay works in non-Safari browsers in iOS 16 Beta 3

#13
post #9

Non-Safari browsers on iOS are still Safari's rendering engine, aren't they? I just wish it'd work on Firefox on my Mac. If not that, I'd love a popup that told me the page supports Apple Pay, so I can checkout with Safari instead.

I have a Firefox extension that does this, but it only works on some sites and it's very much not complete. https://github.com/mike-u/firefox-apple-pay

Re: Tell HN: Apple Pay works in non-Safari browsers in iOS 16 Beta 3

#14
post #9

Non-Safari browsers on iOS are still Safari's rendering engine, aren't they? I just wish it'd work on Firefox on my Mac. If not that, I'd love a popup that told me the page supports Apple Pay, so I can checkout with Safari instead.

I have a Firefox extension that does this, but it only works on some sites and it's very much not complete. https://github.com/mike-u/firefox-apple-pay

"SO post trying to accomplish this" is mine, lol.

Re: Tell HN: Apple Pay works in non-Safari browsers in iOS 16 Beta 3

#15

Earlier quoted context omitted.

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.

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.

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 Beta 3

#17

Earlier quoted context omitted.

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.

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.

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 Beta 3

#18

Earlier quoted context omitted.

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.

Firefox doesn't implement Payment Request, so no Payment Request based payment methods would work.

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 Beta 3

#20
Do you know if extensions work, too? That was the big thing keeping me off Firefox on iOS, and thus, Firefox on Mac.

I want something that syncs to all my devices and supports extensions on all my devices.

TBH not allowing safari extensions to work in non-safari browsers felt almost anticompetitive, but I do recognize that there are some UI challenges to solve. Apple Pay was the other big feature I was missing out on.

Post reply on HN