feat(*): Add stripe checkout support

This commit is contained in:
Josh Creek
2024-04-30 21:41:05 +01:00
parent 04290f547f
commit fcf6f1fcb7
6 changed files with 82 additions and 28 deletions
+14
View File
@@ -0,0 +1,14 @@
<script src="https://js.stripe.com/v3/"></script>
<section>
<div class="product">
<img src="https://i.imgur.com/EHyR2nP.png" alt="The cover of Stubborn Attachments" />
<div class="description">
<h3>Stubborn Attachments</h3>
<h5>$20.00</h5>
</div>
</div>
<form action="/api/checkout" method="POST">
<button type="submit" id="checkout-button">Checkout</button>
</form>
</section>