Google付款可以在WebViews中使用吗

发布于 2025-02-11 20:54:33 字数 219 浏览 1 评论 0原文

可以在WebViews/wkwebview/sfsafariviewController中为iOS设备和Android设备实现Google Pay吗?

Google Pay FAQ页面说:“对于使用WebViews的Android应用程序,您必须调用平台特定的Android Google Pay API。” - 我不确定这是什么意思...

我看到的大多数其他问题都涉及条纹,但是我不使用条纹。

Can Google Pay be implemented in Webviews/WKWebview/SFSafariViewController for both IOS device and Android devices?

Google pay FAQ page said "For Android apps which use WebViews, you must invoke platform specific Android Google Pay APIs." - I'm not sure what does that mean...

Most other question I saw involves Stripe, I'm not using Stripe however.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我不吻晚风 2025-02-18 20:54:33

您不能直接启用Google Pay或Apple Pay,您必须始终拥有一个付款操作员,例如Stripe等。

但是,即使您通过Stripe集成了Google和Apple Pay,它也只能在浏览器和本机中使用。不幸的是,它将无法通过WebView使用,因为WebView容器的特权比浏览器或本机少。

You cannot enable Google Pay or Apple Pay directly, you must always have a payment operator for that, e.g. Stripe and many others.

However, even if you integrate Google and Apple pay via Stripe, it will work only in browser and native. It will not work via WebView unfortunately because the WebView container has less privileges than browser or native.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文