TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

135 点作者 san_amiro将近 3 年前
I was just poking around on a Shopify store on my Firefox browser and saw Apple Pay button showed up, first thought it&#x27;s a front-end bug on the website but tapped on it and the widget slid up and you can legibly make the purchase!<p>Tried on Chrome too and it worked there too!<p>Tried a few other website and can confirm it works everywhere Apple Pay is offered. is it a feature? bug?<p>Wanna try it yourself? you can check this Stripe test page <a href="https:&#x2F;&#x2F;stripe.com&#x2F;docs&#x2F;stripe-js&#x2F;elements&#x2F;payment-request-button?html-or-react=html" rel="nofollow">https:&#x2F;&#x2F;stripe.com&#x2F;docs&#x2F;stripe-js&#x2F;elements&#x2F;payment-request-b...</a><p>Haven&#x27;t installed Beta 4 yet to see if it is still working.

15 条评论

sandstrom将近 3 年前
Probably preparations due to the upcoming EU framework.<p>As a short summary, here are some of the new EU requirements on gatekeepers such as Apple.<p>Gatekeepers must:<p>- Allow users to install apps from third-party app stores and sideload directly from the internet.<p>- Allow developers to offer third-party payment systems in apps and promote offers outside the gatekeeper&#x27;s platforms.<p>- Allow developers to integrate their apps and digital services directly with those belonging to a gatekeeper. This includes making messaging, voice-calling, and video-calling services interoperable with third-party services upon request.<p>- Give developers access to any hardware feature, such as &quot;near-field communication technology, secure elements and processors, authentication mechanisms, and the software used to control those technologies.&quot;<p>- Ensure that all apps are uninstallable and give users the ability to unsubscribe from core platform services under similar conditions to subscription.<p>- Give users the option to change the default voice assistant to a third-party option.<p>- Share data and metrics with developers and competitors, including marketing and advertising performance data.<p>Gatekeepers may no longer:<p>- Pre-install certain software applications and require users to use any important default software services such as web browsers.<p>- Require app developers to use certain services or frameworks, including browser engines, payment systems, and identity providers, to be listed in app stores.<p>- Give their own products, apps, or services preferential treatment or rank them higher than those of others.<p>- Reuse private data collected during a service for the purposes of another service.<p>- Establish unfair conditions for business users.
评论 #32281797 未加载
评论 #32282060 未加载
评论 #32282316 未加载
评论 #32282880 未加载
评论 #32281884 未加载
评论 #32282778 未加载
评论 #32282119 未加载
评论 #32281719 未加载
评论 #32281596 未加载
评论 #32281857 未加载
ceejayoz将近 3 年前
Non-Safari browsers on iOS are still Safari&#x27;s rendering engine, aren&#x27;t they?<p>I just wish it&#x27;d work on Firefox on my Mac. If not that, I&#x27;d love a popup that told me the page supports Apple Pay, so I can checkout with Safari instead.
评论 #32280877 未加载
评论 #32283037 未加载
jkingsman将近 3 年前
This is not a new API AFAIK. The Payment API[0] has been around for a while. MDN&#x27;s got the full skinny [1].<p>[0]: <a href="https:&#x2F;&#x2F;webkit.org&#x2F;blog&#x2F;8182&#x2F;introducing-the-payment-request-api-for-apple-pay&#x2F;" rel="nofollow">https:&#x2F;&#x2F;webkit.org&#x2F;blog&#x2F;8182&#x2F;introducing-the-payment-request...</a><p>[1]: <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;Payment_Request_API#browser_compatibility" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;API&#x2F;Payment_Req...</a>
评论 #32280594 未加载
评论 #32280673 未加载
评论 #32280691 未加载
dawiddr将近 3 年前
Apple Pay has been supported in WebKit’s web view (which every browser uses) for a while now, but with some conditions. The biggest obstacle was that an app couldn’t inject any JavaScript code of its own into websites. I wonder if they removed this safeguard.
评论 #32282584 未加载
评论 #32283337 未加载
评论 #32281545 未加载
tomxor将近 3 年前
No it doesn&#x27;t, because there is no such thing as a non-safari browser on iOS.<p>Firefox, Chrome, anything Apple will allow is just Safari in a different costume.
评论 #32282262 未加载
评论 #32282582 未加载
samwillis将近 3 年前
This is good news, I hope they make it available in all “In App Browsers” (IABs) too, along with all saved payment cards in your key chain.<p>As a data point from an online retailer, we kept seeing a significantly high (I think it was something ridiculous like 30%) drop out at the check out payment screen for all Facebook&#x2F;Instagram ad customers.<p>What was happening was they were clicking on ads, coming to our site, going to purchase and then when they reached payment didn’t have access to Apple Pay or there saved card details. The in app browsers have an “open in Safari” button, they were clicking that - so they could use their prefers payment method - and loosing their session and shopping cart. It was catastrophic!<p>We ultimate fixed the issue with a warning message to customers who are within an IAB.<p>IABs are bad for advertisers, they only serve to keep users within the social media app.<p>Anyone with the Beta, I would love to know if either Apple Pay or key chain saved cards are available now in social media IABs.
评论 #32282227 未加载
评论 #32284051 未加载
solarkraft将近 3 年前
As far as I know there are no non-Safari browsers on iOS yet.
评论 #32282251 未加载
n8cpdx将近 3 年前
Do you know if extensions work, too? That was the big thing keeping me off Firefox on iOS, and thus, Firefox on Mac.<p>I want something that syncs to all my devices and supports extensions on all my devices.<p>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.
评论 #32281265 未加载
NonNefarious将近 3 年前
There is no &quot;non-Safari&quot; browser on iOS. It&#x27;s all a skin over WebKit.
sircastor将近 3 年前
I hope support for this ends up in Mac browsers. It’s really frustrating to get through a car pieces and realize the site probably supports Apple Pay but you can’t use it because you’re looking at the site outside of Safari
freediver将近 3 年前
Has anyone ever managed to get Apple Pay working in non-Safari app on macOS?
评论 #32280706 未加载
评论 #32283176 未加载
turtleman1338将近 3 年前
&quot;non-Safari browsers&quot; I thought all iOS browsers are technically Safari based?
twobitshifter将近 3 年前
I wish firefox on ios supported the hide my email feature that you get in safari.
hcarrega将近 3 年前
just test with orion browser on iphone 13 with ios16beta4 and works
评论 #32282906 未加载
candiddevmike将近 3 年前
Please let this mean Apple will embrace TWAs in the app store