Google付款可以在WebViews中使用吗
可以在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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您不能直接启用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.