Live data from Hacker News

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

news.ycombinator.com

1–10 of 117 posts

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

#1
I was just poking around on a Shopify store on my Firefox browser and saw Apple Pay button showed up, first thought it's a front-end bug on the website but tapped on it and the widget slid up and you can legibly make the purchase!

Tried on Chrome too and it worked there too!

Tried a few other website and can confirm it works everywhere Apple Pay is offered. is it a feature? bug?

Wanna try it yourself? you can check this Stripe test page https://stripe.com/docs/stripe-js/elements/payment-request-b...

Haven't installed Beta 4 yet to see if it is still working.

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

#3

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...

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

#4
post #3

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...

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.”)

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

#6

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...

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

#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?

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

#8

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.

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

#10
post #3

Earlier quoted context omitted.

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.”)

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.

Post reply on HN