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/tlmvhcnagxwu/plugin/53/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARMOXUHhevrZA6Ua6wemQ92w1J2883kdoLjn2er_sWY7TlPD7PGGbaZLkU07MclTpzLoQsS7C7riR6li");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTFlNjU4NWMyOGI0YjczY2EyNzJmMWJjNjBmMDM2ODk1NjVmMWE4MTg0Njg1YTM2ZDU2ODA5N2VkZWVkMmNkNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDVUMjM6MTI6MDcuMzczWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1vMXl5MHRfY1VLT251X3o4V2dwVU9WRnJZU3RrT3ZfWGVldkZIZ2czcDAtVnBnN2s5bms0MUV5NFdFYi01dGlKME1OSEJIUVhPMnlRdkczbWFoQkg0M2tTTC1nIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "ARMOXUHhevrZA6Ua6wemQ92w1J2883kdoLjn2er_sWY7TlPD7PGGbaZLkU07MclTpzLoQsS7C7riR6li");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTFlNjU4NWMyOGI0YjczY2EyNzJmMWJjNjBmMDM2ODk1NjVmMWE4MTg0Njg1YTM2ZDU2ODA5N2VkZWVkMmNkNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDktMDVUMjM6MTI6MDcuMzczWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1vMXl5MHRfY1VLT251X3o4V2dwVU9WRnJZU3RrT3ZfWGVldkZIZ2czcDAtVnBnN2s5bms0MUV5NFdFYi01dGlKME1OSEJIUVhPMnlRdkczbWFoQkg0M2tTTC1nIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66da3dac50045', 'paypal', 'buynow', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66da3dac50045', 'paypal', 'buynow', 'rect', 'blue');
});
}