Widget:PaddleSandboxCheckoutEmguCVWindowsYearly: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
// define items | // define items | ||
let | let cvWindowsSandboxItemsList = [ | ||
{ | { | ||
priceId: "pri_01jjpppnm89qnca6bcqm4qgmzb", //Emgu CV for windows yearly subscription | priceId: "pri_01jjpppnm89qnca6bcqm4qgmzb", //Emgu CV for windows yearly subscription | ||
Line 15: | Line 15: | ||
// open checkout | // open checkout | ||
function | function cvWindowsSandboxOpenCheckout(items){ | ||
Paddle.Checkout.open({ | Paddle.Checkout.open({ | ||
items: items | items: items | ||
Line 21: | Line 21: | ||
} | } | ||
</script> | </script> | ||
<button onclick=" | <button onclick="cvWindowsSandboxOpenCheckout(cvWindowsSandboxItemsList)">Subscribe to Emgu CV for Windows (Sandbox)</button> |
Revision as of 02:53, 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 cvWindowsSandboxItemsList = [ { priceId: "pri_01jjpppnm89qnca6bcqm4qgmzb", //Emgu CV for windows yearly subscription quantity: 1 } ]; // open checkout function cvWindowsSandboxOpenCheckout(items){ Paddle.Checkout.open({ items: items }); }
</script> <button onclick="cvWindowsSandboxOpenCheckout(cvWindowsSandboxItemsList)">Subscribe to Emgu CV for Windows (Sandbox)</button>