Skip to content

Instantly share code, notes, and snippets.

@furiousdavid
Created May 16, 2019 00:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save furiousdavid/10ba1ad95845663d1f4d3e140dceccd0 to your computer and use it in GitHub Desktop.
Save furiousdavid/10ba1ad95845663d1f4d3e140dceccd0 to your computer and use it in GitHub Desktop.
<!-- index.html -->
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link href="./stylesheet.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="card">
<h1 class="title">
Donate to our cause
</h1>
<p class="description">
We have a cause that is very important, please donate to suppport our work
</p>
<form action="<YOUR WEBTASK.IO FUNCTION URL>" method="POST">
<input id="500" type="hidden" name="amount" value="500">
<div class="form-group">
<input class="form-control" name="phone" placeholder="Leave us your phone number">
</div>
<div class="form-group">
<textarea class="form-control" rows="4" name="message" placeholder="Leave us a message">Leave a message</textarea>
</div>
<hr>
<div class="align-right">
<script
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="<YOUR STRIPE PUBLIC KEY>"
data-amount="500"
data-label="Donate $5.00"
data-name="Our CAUSE">
</script>
</div>
</form>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment