Custom HTML
A pay button can be a link to a payment link. Create the link on your server so the amount cannot be edited in the browser.
<a href="https://laxopay.com/pay/plink_example">Pay with LaxoPay</a>
For a custom amount, your server sends POST /v1/payments and your page never sees the secret key.