Widget:PaddleSandboxCheckoutEmguTFWindowsYearly: 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 |
||
Line 7: | Line 7: | ||
// define items | // define items | ||
let | let tfWindowsSandboxItemsList = [ | ||
{ | { | ||
priceId: "pri_01jk9d4gnpn6qwyd1h7hcn4na7", //Emgu TF for windows yearly subscription | priceId: "pri_01jk9d4gnpn6qwyd1h7hcn4na7", //Emgu TF for windows yearly subscription | ||
Line 15: | Line 15: | ||
// open checkout | // open checkout | ||
function | function tfWindowsSandboxOpenCheckout(items){ | ||
Paddle.Checkout.open({ | Paddle.Checkout.open({ | ||
items: items | items: items | ||
Line 21: | Line 21: | ||
} | } | ||
</script> | </script> | ||
<button onclick=" | <button onclick="tfWindowsSandboxOpenCheckout(tfWindowsSandboxItemsList)">Subscribe to Emgu TF for Windows (Sandbox)</button> |
Revision as of 02:55, 18 February 2025
<script src="https://cdn.paddle.com/paddle/v2/paddle.js"></script> <script type="text/javascript">
Paddle.Environment.set("sandbox"); Paddle.Initialize({ token: "test_dcf8447595ee059a9fbd13a503b" // replace with a client-side token });
// define items let tfWindowsSandboxItemsList = [ { priceId: "pri_01jk9d4gnpn6qwyd1h7hcn4na7", //Emgu TF for windows yearly subscription quantity: 1 } ]; // open checkout function tfWindowsSandboxOpenCheckout(items){ Paddle.Checkout.open({ items: items }); }
</script> <button onclick="tfWindowsSandboxOpenCheckout(tfWindowsSandboxItemsList)">Subscribe to Emgu TF for Windows (Sandbox)</button>