Created
March 27, 2015 13:51
-
-
Save jdcauley/14fd8228ecda05404708 to your computer and use it in GitHub Desktop.
Populate Amount in Script and Hidden Field and get JSON on submit
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="http://localhost:1337/charge/EJPtU76" method="POST"> | |
<script | |
src="https://checkout.stripe.com/checkout.js" | |
class="stripe-button" | |
data-key="pk_test_bSb7tIiZYGyKMZVwsuD8S9AN" | |
data-image="" | |
data-name="No Reciept Again" | |
data-description="" | |
data-amount=""> | |
</script> | |
<input type="hidden" name="amount" value=""> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment