Stripe Checkout HTML function not working

Welcome! Forums Unity Plugins In-App Web Browser Stripe Checkout HTML function not working

Tagged: , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1431
    WyattAtViewport
    Participant

    We’re attempting to integrate Stripe into our Unity app and your In-App Browser seems to be our best option for running their secure checkout HTML script.
    We’re able to use InAppBrowser.LoadHTML to bring up the credit card payment fields for a moment on an Android device though a moment, that will hide and the browser will say “Sorry, there was a problem loading Checkout. If this persists, please try a different browser.”

    The checkout script is located here: https://stripe.com/docs/checkout

    We’re are using this one. <form action=”your-server-side-code” method=”POST”>
    <script
    src=”https://checkout.stripe.com/checkout.js&#8221; class=”stripe-button”
    data-key=”pk_test_wmGZe4o2O3isTlJCp0rOaY5B00JjcAL9DE”
    data-amount=”999″
    data-name=”Demo Site”
    data-description=”Widget”
    data-image=”https://stripe.com/img/documentation/checkout/marketplace.png&#8221;
    data-locale=”auto”
    data-currency=”aud”>
    </script>
    </form>

    Is there anyway we could resolve this issue?

    #1432
    PiotrPiotr
    Keymaster

    I’ve never used Stripe so it’s tough question.
    Probably you might look in their docs / SO about running this form in WebView.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.