在 WebView 中使用 Stripe Mobile Checkout/在 Kik 中付款 [英] Using Stripe Mobile Checkout in a WebView / Payments in Kik
问题描述
我正在尝试实施 Stripe Checkout 以在 Kik 浏览器中接受移动支付,但不幸的是,我在尝试加载 Checkout 时遇到以下错误:
I'm trying to implement Stripe Checkout for accepting mobile payments within the Kik Browser but unfortunately, I'm getting the following error when trying to load Checkout:
抱歉,加载 Checkout 时出现问题.如果问题仍然存在,请尝试使用其他浏览器.
Sorry, there was a problem loading Checkout. If this persists, please try a different browser.
尝试创建自定义表单似乎工作得很好 - 但我喜欢 Stripe 移动结账流程的简单直观设计 - 因此我更愿意使用它,而不是构建自己的表单.
Trying to create a custom form seems to work just fine - but I love the simple and intuitive design of Stripe's Mobile Checkout process - hence I'd prefer to use it, instead of building my own form.
Kik 正在使用 WebViews 在 Android 和 iOS 上显示网站.我希望来自 Stripe 或 Kik 的人可以对此发表意见.
Kik is using WebViews to display websites on both Android and iOS. I hope somebody from Stripe or Kik could weigh in on this.
谢谢!
推荐答案
这似乎对我们有用:
<style> .stripe_checkout_app { height: 580px !important; } </style>
<meta name="mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
这篇关于在 WebView 中使用 Stripe Mobile Checkout/在 Kik 中付款的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!