Skip to content

Instantly share code, notes, and snippets.

@andrewpthorp
Created January 16, 2014 16:31
Show Gist options
  • Save andrewpthorp/8458079 to your computer and use it in GitHub Desktop.
Save andrewpthorp/8458079 to your computer and use it in GitHub Desktop.
Babette Sample
<html>
<body>
<form action="/paypal/purchase_stripe.php" method="post">
<script src="https://checkout.stripe.com/checkout.js" class="stripe-button"
data-key="pk_test_YhIozHG3kvG8j0BOkMpvaqtF"
data-amount="99"
data-name="BakeSpace Cookbook"
data-currency="USD"
data-panel-label="Buy Now"
data-image="/images/normal/c9e3cc151f531c0c4aa2f464c9e89ad7.jpeg"
data-description="Easy Homemade Salad Dressings">
</script>
<input type="hidden" name="action" value="purchase">
<input type="hidden" name="cost" value="0.99">
<input type="hidden" name="stripe_amount" value="99">
<input type="hidden" name="service" value="stripe">
<input type="hidden" name="member_id" value="25193">
<input type="hidden" name="item_number" value="977">
</form>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment