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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWMyNjU4ZjZlYmY5NDQ3N2Q4N2FlMmNiOGU0NTM1NWM5ZmU4NGQzNDk4MmJiZDU3ODA2MTFmODY1YTFiNDMwMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMjFUMDQ6NTI6MDMuNjU4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9UZ3M2S3Zua3hxRWdXNlJZbWlLbmh1eWhtZmlkNU9xMEdqQnNiLV9yTzhQMkRyZFctYlNxSmt1VlJ0bm9meUhFaHBSeG9IOExHdXExSVIxVnpDQ08xWjcwYkVBIn19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWMyNjU4ZjZlYmY5NDQ3N2Q4N2FlMmNiOGU0NTM1NWM5ZmU4NGQzNDk4MmJiZDU3ODA2MTFmODY1YTFiNDMwMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMjFUMDQ6NTI6MDMuNjU4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9UZ3M2S3Zua3hxRWdXNlJZbWlLbmh1eWhtZmlkNU9xMEdqQnNiLV9yTzhQMkRyZFctYlNxSmt1VlJ0bm9meUhFaHBSeG9IOExHdXExSVIxVnpDQ08xWjcwYkVBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('673ec96d03d9f', 'paypal', 'buynow', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('673ec96d03d9f', 'paypal', 'buynow', 'rect', 'blue');
});
}