Add a Zeprill button
Add a payment button to your website. Choose an option below and copy the code.
1
1. Add the script
Put this line in your page, right before </body>:
2
2. Make a payment link
Create a link in your Zeprill account and copy its ID (the part after /pay/ in the URL).
3
3. Turn any button into a pay button
Add the class and the link ID to any button:
Add the script
<script src="https://www.zeprill.com/zeprill-button.js" async></script>
Payment button
<button class="zeprill-pay" data-zeprill-link="YOUR_LINK_ID">Pay with Zeprill</button>
💡 Tip: You can also call it from your own JavaScript:
ZeprillPay.open("YOUR_LINK_ID"). And you can style the button however you like — Zeprill only adds the click behavior.