- add stripe checkout button in each training pages

This commit is contained in:
stephane.boniffacy committed 2025-01-29 10:33:37 +01:00
1 parent 450331ea34
commit b2d8530650
13 files changed
+35 -13

No files matched your search

+3 -3
View File
@@ -1,4 +1,4 @@
{{ $id := .Get "id" }}
{{ $pricing_id := index .Site.Params $id}}
<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
<stripe-pricing-table pricing-table-id="prctbl_1QeZxWAVnr0yCjVx58tZnURs"
publishable-key="pk_test_51QblVdAVnr0yCjVxvGKVEnsFExwJ5MJHrfpZha3hUdu6M1boWMVfo69sBvsaMAKPsnusWqI4JoDzsxgxjYOnzEot00ESickqIW">
</stripe-pricing-table>
<stripe-pricing-table pricing-table-id="{{ printf "%s" $pricing_id }}" publishable-key="{{ printf "%s" .Site.Params.publishable_key }}"></stripe-pricing-table>