Widget:PaddleSandboxCheckoutEmguTFProYearly: Difference between revisions
Jump to navigation
Jump to search
Created page with "<script src="https://cdn.paddle.com/paddle/v2/paddle.js"></script> <script type="text/javascript"> Paddle.Environment.set("sandbox"); Paddle.Initialize({ token: "test..." |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
// define items | // define items | ||
let | let tfProSandboxItemsList = [ | ||
{ | { | ||
priceId: "pri_01jk9db6gwmc9ghfnzdc4kyzs5", //Emgu TF Pro yearly subscription | priceId: "pri_01jk9db6gwmc9ghfnzdc4kyzs5", //Emgu TF Pro yearly subscription | ||
Line 15: | Line 9: | ||
// open checkout | // open checkout | ||
function | function tfProSandboxOpenCheckout(items){ | ||
Paddle.Checkout.open({ | Paddle.Checkout.open({ | ||
items: items | items: items | ||
Line 21: | Line 15: | ||
} | } | ||
</script> | </script> | ||
<button onclick=" | <button onclick="tfProSandboxOpenCheckout(tfProSandboxItemsList)">Subscribe to Emgu TF Pro (Sandbox)</button> |
Latest revision as of 22:36, 18 February 2025
<script type="text/javascript">
// define items let tfProSandboxItemsList = [ { priceId: "pri_01jk9db6gwmc9ghfnzdc4kyzs5", //Emgu TF Pro yearly subscription quantity: 1 } ]; // open checkout function tfProSandboxOpenCheckout(items){ Paddle.Checkout.open({ items: items }); }
</script> <button onclick="tfProSandboxOpenCheckout(tfProSandboxItemsList)">Subscribe to Emgu TF Pro (Sandbox)</button>