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/58/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARMOXUHhevrZA6Ua6wemQ92w1J2883kdoLjn2er_sWY7TlPD7PGGbaZLkU07MclTpzLoQsS7C7riR6li");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzI2MDBiYzAxZGY0MzE0NTRlMmQ0ODY4ZmUxOGI5MWFiM2ZmMThjMTAwNDljNmJhYmFmMTAxYWI3MDcxNWRkM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDgtMzFUMTQ6Mjc6MTUuNjYwMjM3NzU5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBNSTJFVmpaQUx0WTVBR0JIajJEUDZVZC0tWVJNc1dnZ3FrUVNfV3R5WHkxRFBOMUR3SFkxcng0WDlycm9WVzE1SXQ1TTl0Vy1CVzB0elJhNEVHU2pBbjlkMExBIn19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzI2MDBiYzAxZGY0MzE0NTRlMmQ0ODY4ZmUxOGI5MWFiM2ZmMThjMTAwNDljNmJhYmFmMTAxYWI3MDcxNWRkM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDgtMzFUMTQ6Mjc6MTUuNjYwMjM3NzU5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBNSTJFVmpaQUx0WTVBR0JIajJEUDZVZC0tWVJNc1dnZ3FrUVNfV3R5WHkxRFBOMUR3SFkxcng0WDlycm9WVzE1SXQ1TTl0Vy1CVzB0elJhNEVHU2pBbjlkMExBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('68b464c2f308b', 'paypal', 'buynow', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('68b464c2f308b', 'paypal', 'buynow', 'rect', 'blue');
});
}