I'm trying to integrate Stripe checkout in an android application. Currently I'm receiving the checkout session ID from the backend . I need to run this js code in application
<script src="https://js.stripe.com/v3/"></script>
<script>
var stripe = Stripe('publishable_key')
stripe.redirectToCheckout({
sessionId:session.id
})
</script>
In web , this code redirects to a page hosted in Stripe . How to achieve the same in android .I was advised against webview by the Stripe support as that solution appears to have some issues . How to proceed further from here .