git-svn-id: svn://losandesgames.com/alfheim-website@14 15359d88-9307-4e75-a9c1-e5686e5897df
This commit is contained in:
vfs committed 2024-05-20 22:50:06 +00:00
1 parent 09c553609f
commit 98e641c55c
5 files changed
+79 -7

No files matched your search

+6
View File
@@ -13,4 +13,10 @@
</div>
</form>
</div>
<div class="wrapper">
<form method="POST" action="/managebilling">
<button type="submit">Manage billing</button>
</form>
</div>
{{end}}
+2 -1
View File
@@ -1,7 +1,8 @@
{{define "body"}}
{{range .Prices}}
<div class="wrapper">
{{.}}
{{$price := divide .UnitAmountDecimal 100}}
{{.Currency}} {{printf "%.2f" $price}}
</div>
{{end}}
{{end}}
+5
View File
@@ -0,0 +1,5 @@
{{define "body"}}
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
<stripe-pricing-table pricing-table-id="prctbl_1PIaJpKUHKCjyTmcy1ONKQiT" publishable-key="pk_test_51PGebgKUHKCjyTmcyuhj7C5lfHfKFLCxRJ2opoqxL3mGEHSRaMvOHYKKgX4MdFfESW78dssjyunboUcFhg3LTwmn005PmzVIXw" customer-session-client-secret={{.ClientSecret}}>
</stripe-pricing-table>
{{end}}