if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn02.plentymarkets.com/hw9w9h1im86a/plugin/15/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AYTv0FC29gdEjMDVDUEMED5jaIbwx7c1bRhbCdXJwwzv9c4hqMtflDhRYfQ4E1q9YotbnPqbFz-yxA5j");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODI4NzQ1OGE5NTVjZTExMWU3ZTg4OTkxNDIzMGRjNGY2N2M4ZjE4ZWJlZTgyYjg5ZmI0MTgzNmQxM2I5ZjQ1YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMTQ6NDY6NTEuNDIwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU55ZTJPcnNabkNJVHJMNGVLWHlrZkN2SmtxU2hWaktra0FCS2xfRjBjcFZ4OGZtOXo4WDl3M0ZlTnFBcU5CSnNPQmRKNll1S2w1S2M0Rll2cU9RMFN3S3ZCTW9RIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "it_IT");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AYTv0FC29gdEjMDVDUEMED5jaIbwx7c1bRhbCdXJwwzv9c4hqMtflDhRYfQ4E1q9YotbnPqbFz-yxA5j");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODI4NzQ1OGE5NTVjZTExMWU3ZTg4OTkxNDIzMGRjNGY2N2M4ZjE4ZWJlZTgyYjg5ZmI0MTgzNmQxM2I5ZjQ1YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMTQ6NDY6NTEuNDIwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU55ZTJPcnNabkNJVHJMNGVLWHlrZkN2SmtxU2hWaktra0FCS2xfRjBjcFZ4OGZtOXo4WDl3M0ZlTnFBcU5CSnNPQmRKNll1S2w1S2M0Rll2cU9RMFN3S3ZCTW9RIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "it_IT");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662a752525272', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('662a752525272', 'paypal', 'buynow', 'rect', 'gold');
}