The stripe payment configuration on a custom page has been been done using a form method provided by skype.
<form action="action_path" method="POST">
<script
src="stripe_publishable_key"
data-amount="amount"
data-name="SiBonne"
data-image=""
data-currency="currency_code"
data-email="stripe_email"
data-locale="language_code"
data-label="Confirm & Pay">
</script>
<input type="hidden" name="id" value="<?= $invoices->getId() ?>">
<input type="hidden" name="form_key" value="<?php echo $block->getFormKey() ?>">
</form>