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