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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTU0NTYxYjA0MzRjNGFhMDc1YjQ1MDYxZWQ2ZjhkNmQwNzYyZWY5YjBkMTE1MTNiMDBkZDY0NzQyMTQyYjY5YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjZUMjI6NDA6MzAuODg4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU51WjBpT21JMWdGM2pyX3hDMjkyWHFEREMxSXd5SEs3dHc5bmE5U0V1a05ZMExmVFV6UWZqMVIyVXVUSUM4U1J6RXh3UGNxWGJDMklYdHk0Qy14NXlkZS02VTFnIn19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTU0NTYxYjA0MzRjNGFhMDc1YjQ1MDYxZWQ2ZjhkNmQwNzYyZWY5YjBkMTE1MTNiMDBkZDY0NzQyMTQyYjY5YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjZUMjI6NDA6MzAuODg4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU51WjBpT21JMWdGM2pyX3hDMjkyWHFEREMxSXd5SEs3dHc5bmE5U0V1a05ZMExmVFV6UWZqMVIyVXVUSUM4U1J6RXh3UGNxWGJDMklYdHk0Qy14NXlkZS02VTFnIn19");
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('662c36f945813', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('662c36f945813', 'paypal', 'buynow', 'rect', 'gold');
}