HTML Form for DonateMate

To add a custom HTML form for donations to any of your other websites, simply use the below form code. You can style the form any way you want, it just needs to have three things:

1. Point your POST request to "https://www.donatemate.app/api/donation"

2. On the "input" tag named "shopid", include your permanent shop URL. (It will be something like "greatshop.myshopify.com")

3. Must include the price as 'price'

Here is some basic code you can use to start with:

<h1>Donate!</h1>
<form method="post" action="https://www.donatemate.app/api/donation">
	<label for="price">Make a donation (<CURRENCY>)</label>
	<input value="5.00" id="price" name="price">
	<input value="<INSERT MYSHOPIFY SHOP URL>" hidden="" name="shopid">
	<button action="submit">Donate</button>
</form>

If you have any questions, just contact DonateMate Support. We're here to help!

Still need help? Contact Us Contact Us