Using Stripe Mobile Checkout in a WebView / Payments in Kik

别说谁变了你拦得住时间么 提交于 2019-12-10 18:42:48

问题


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:

Sorry, there was a problem loading Checkout. If this persists, please try a different browser.

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 is using WebViews to display websites on both Android and iOS. I hope somebody from Stripe or Kik could weigh in on this.

Thanks!


回答1:


This seems to do it for us:

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


来源:https://stackoverflow.com/questions/34904149/using-stripe-mobile-checkout-in-a-webview-payments-in-kik

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!