Widget:PaddleCheckoutEmguTFProYearly: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
// define items | // define items | ||
let | let tfProItemsList = [ | ||
{ | { | ||
priceId: "pri_01jk74bzptjtk81qd4jts0bggr", //Emgu TF Pro yearly subscription | priceId: "pri_01jk74bzptjtk81qd4jts0bggr", //Emgu TF Pro yearly subscription | ||
Line 15: | Line 9: | ||
// open checkout | // open checkout | ||
function | function tfProOpenCheckout(items){ | ||
Paddle.Checkout.open({ | Paddle.Checkout.open({ | ||
items: items | items: items | ||
Line 21: | Line 15: | ||
} | } | ||
</script> | </script> | ||
<button onclick=" | <button onclick="tfProOpenCheckout(tfProItemsList)">Subscribe to Emgu TF Pro</button> |
Latest revision as of 03:02, 18 February 2025
<script type="text/javascript">
// define items let tfProItemsList = [ { priceId: "pri_01jk74bzptjtk81qd4jts0bggr", //Emgu TF Pro yearly subscription quantity: 1 } ]; // open checkout function tfProOpenCheckout(items){ Paddle.Checkout.open({ items: items }); }
</script> <button onclick="tfProOpenCheckout(tfProItemsList)">Subscribe to Emgu TF Pro</button>