if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/6ci46tf32w69/plugin/54/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQai_EuotpUKFk9FJg5eefUAQT1K53xfUUp6CewEfe__kZ6h1dLza3wBtR2GQbulDDqXSTdG_aAwH1p8");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTdiNDkxMWU5NWVlZDgwMTFkOTNiN2JlYmI0YWI1ZGE3MDc3ZDgzNTcyMDQ0MTlhMTMyYmNiYzBmYzNkZmJmY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDFUMTI6MDE6MjEuMjY2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBsSk5TQnZLajg0RWJvUWVJRnA3YVJpX0ZjcWVlQjU3ZGR0QndyVDJzMFhka1JmSHQ2VXVCcWw4ZHVUMF9pd3RBcVhHWjljY2duMWlfVnB5Nm9kRkpURHJ6WjlBIn19");
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", "AQai_EuotpUKFk9FJg5eefUAQT1K53xfUUp6CewEfe__kZ6h1dLza3wBtR2GQbulDDqXSTdG_aAwH1p8");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTdiNDkxMWU5NWVlZDgwMTFkOTNiN2JlYmI0YWI1ZGE3MDc3ZDgzNTcyMDQ0MTlhMTMyYmNiYzBmYzNkZmJmY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDFUMTI6MDE6MjEuMjY2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBsSk5TQnZLajg0RWJvUWVJRnA3YVJpX0ZjcWVlQjU3ZGR0QndyVDJzMFhka1JmSHQ2VXVCcWw4ZHVUMF9pd3RBcVhHWjljY2duMWlfVnB5Nm9kRkpURHJ6WjlBIn19");
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('663232a2459f0', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('663232a2459f0', 'paypal', 'buynow', 'rect', 'gold');
}