-
-
Save davewardle/9e517a4571a93abc1a8e9e03548f4138 to your computer and use it in GitHub Desktop.
Basic Stripe Checkout example
This file contains 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="/your-server-side-code" method="POST"> | |
<script | |
src="https://checkout.stripe.com/checkout.js" class="stripe-button" | |
data-key="pk_test_6pRNASCoBOKtIshFeQd4XMUh" | |
data-amount="2000" | |
data-name="Stripe.com" | |
data-description="2 widgets" | |
data-image="https://stripe.com/img/documentation/checkout/marketplace.png" | |
data-locale="auto" | |
data-zip-code="true"> | |
</script> | |
</form> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment