Stripe JS element disappering in WooCommerce Checkout

Solution:

I found that it was a simple matter of links sending the user to http:// instead of https://

Add this code as an extra HTML block will fix that:

<script type="text/javascript">
if (location.protocol !== 'https:')
{
    location.replace(`https:${location.href.substring(location.protocol.length)}`);
}
</script>