aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-11-15 00:07:51 +0100
committerTeddy Wing2018-11-15 00:07:51 +0100
commit82f5b83490116f6ae860754f6562273e3cc1767e (patch)
tree6ab70c4ac25e25de0f38fffbbfd20af4532e1d89
parent00952d2e5c6b8112671c174b421aab886493f747 (diff)
downloaddome-key-web-82f5b83490116f6ae860754f6562273e3cc1767e.tar.bz2
index.html: Add Paddle checkout JavaScript
Clicking on the "Buy" button brings up the Paddle checkout modal overlay.
-rw-r--r--index.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/index.html b/index.html
index 69ca377..dd6ec05 100644
--- a/index.html
+++ b/index.html
@@ -48,7 +48,8 @@
class="buy-button
button button-magenta
padding-top-9 padding-bottom-9
- position-absolute right-0 bottom-0">
+ position-absolute right-0 bottom-0"
+ onclick="Paddle.Checkout.open({ product: 544591 })">
Buy ($15)
</a>
</div>
@@ -107,5 +108,10 @@ cmd &lt;Play&gt; osascript -e 'activate application "Terminal"' -e 'tell applica
Licenses are valid for all 1.x releases of the program.
</p>
</div>
+
+ <script src="https://cdn.paddle.com/paddle/paddle.js"></script>
+ <script type="text/javascript">
+ Paddle.Setup({ vendor: 36825 });
+ </script>
</body>
</html>