Skip to content

Commit

Permalink
add stripe payment form
Browse files Browse the repository at this point in the history
relates #23 #25 #29
  • Loading branch information
bo-bok committed May 4, 2017
1 parent f29b07a commit 864cf0b
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion src/views/payment-processor.hbs
Original file line number Diff line number Diff line change
@@ -1 +1,21 @@
<h1>blah blah blah</h1>
<div class="test">

<form action="/charge" method="post" id="payment-form">
<div class="form-row">
<label for="card-element">
Credit or debit card
</label>
<div id="card-element">
<!-- a Stripe Element will be inserted here. -->
</div>

<!-- Used to display form errors -->
<div id="card-errors"></div>
</div>

<button>Submit Payment</button>
</form>

<script src="./lib/payment-processor.js"></script>

</div>

0 comments on commit 864cf0b

Please sign in to comment.