问题
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