Skip to content

Instantly share code, notes, and snippets.

@bgwaltney
Last active February 8, 2019 14:12
Show Gist options
  • Select an option

  • Save bgwaltney/bd0fffaa70106e6f8e65c1bc2e73c3be to your computer and use it in GitHub Desktop.

Select an option

Save bgwaltney/bd0fffaa70106e6f8e65c1bc2e73c3be to your computer and use it in GitHub Desktop.
<form action="https://instapaymentpages.com/chargeinstruction/xxxxxxx" method="POST"> <!--replace this with your unique URL-->
<input type="hidden" name="passed_description" value="Online entries">
<!--Whatever value you pass to pass_params will be added to the redirect url as a query param. -->
<input type="hidden" name="pass_params[test]" value="testung">
<input type="hidden" name="passed_amount_in_cents" value="100">
<input type="hidden" name="passed_redirect_url" value="https://google.com">
<script
src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="pk_test_xxxxx"
data-amount="100"
data-name="Passed values example"
data-description="Online Entries"
data-image="https://stripe.com/img/documentation/checkout/marketplace.png"
data-locale="auto">
</script>
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment