{"product_id":"premium-iptv-subscription-12-mois","title":"Premium IPTV Subscription – 12 Mois","description":"\u003c!-- Add meta tags for mobile and IE --\u003e\n\u003cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\"\u003e\n\u003cmeta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\"\u003e\n\n\u003c!-- Set up a container element for the button --\u003e\n\u003cdiv id=\"paypal-button-container\"\u003e\u003c\/div\u003e\n\n\u003c!-- Include the PayPal JavaScript SDK --\u003e\n\u003cscript src=\"https:\/\/www.paypal.com\/sdk\/js?client-id=AWlZ2vaHGQliatkX91qNsWua4PjYAS0HzWpBrJtehWvJF6NtNMhnOzXSdaekvSeV4O2_Yu4w0OcWaTR_\u0026amp;currency=USD\"\u003e\u003c\/script\u003e\n\u003cscript\u003e\n    \/\/ Render the PayPal button into #paypal-button-container\n    paypal.Buttons({\n        \/\/ Set up the transaction\n        createOrder: function(data, actions) {\n            return actions.order.create({\n                purchase_units: [{\n                    amount: {\n                        currency_code: 'USD', \/\/ Set the currency code\n                        value: '49.99' \/\/ Set the transaction amount\n                    }\n                }]\n            });\n        },\n\n        \/\/ Finalize the transaction\n        onApprove: function(data, actions) {\n            return actions.order.capture().then(function(orderData) {\n                \/\/ Successful capture! For demo purposes:\n                console.log('Capture result', orderData, JSON.stringify(orderData, null, 2));\n                var transaction = orderData.purchase_units[0].payments.captures[0];\n                alert('Transaction ' + transaction.status + ': ' + transaction.id + '\\n\\nSee console for all available details');\n\n                \/\/ Replace the above to show a success message within this page, e.g.\n                \/\/ const element = document.getElementById('paypal-button-container');\n                \/\/ element.innerHTML = '';\n                \/\/ element.innerHTML = '\u003ch3\u003eThank you for your payment!\u003c\/h3\u003e';\n                \/\/ Or go to another URL: actions.redirect('thank_you.html');\n            });\n        }\n    }).render('#paypal-button-container');\n\u003c\/script\u003e\n\n","brand":"My Store","offers":[{"title":"Subscription – 12 Mois","offer_id":45644870549717,"sku":"","price":49.99,"currency_code":"EUR","in_stock":true}],"url":"https:\/\/smartersiptvpro.store\/en-fr\/products\/premium-iptv-subscription-12-mois","provider":"Smarters Pro Buy Subscription","version":"1.0","type":"link"}