Skip to content

Latest commit

 

History

History
47 lines (42 loc) · 1.41 KB

stripe.md

File metadata and controls

47 lines (42 loc) · 1.41 KB
layout title-card1 title-card3 title subtitle permalink header_image image_credit
title_card
Open Health Works
Sponsorship Payment
Open Health Works
/stripe
home_img.jpg
Credit URL Licence
Paul Clarke
CC BY-NC
<style> .title-card h2 {background:#7c334f;} </style>

{:class="centre"}

Use the appropriate button below to make a Sponsorship Payment

{:class="centre"} Sponsor (£1,250)

<script src="https://js.stripe.com/v3"></script> <script> var stripe = Stripe('pk_live_fzpKk5hafmL32DNDGUh4YwVK001P7mS42h'); var checkoutButton = document.getElementById('checkout-button-sku_EwdVqg3tCIMdCx'); checkoutButton.addEventListener('click', function () { stripe.redirectToCheckout({ items: [{sku: 'sku_EwdVqg3tCIMdCx', quantity: 1}], successUrl: window.location.protocol + '//nhshackday.com/stripe/thanks', cancelUrl: window.location.protocol + '//nhshackday.com/stripe', }) .then(function (result) { if (result.error) { var displayError = document.getElementById('error-message'); displayError.textContent = result.error.message; } }); }); </script>

{:class="centre"} !["Open Health Works"]({% link /assets/branding/openhealthworks-logo-350px.png %}){:style="max-width:100%"}