if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/rxsnpfa85a86/plugin/7/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZDku_XSj1KFEH99voXhw0oQMvezCvMbeiiM7eiAHI_5yvRzpBq-D4xsMStyLA1jaQT6hTGbEw4P1bvA");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDExNzU5NTE2Y2YzMDI1NDZmNDQ4YjBiMjhmNGVjZGM1MThiZGVlMzkxNmQzNGUwMGY4ZWQxNmNjMTYzMzg2M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDJUMTc6NTM6MTYuOTg4MjU3MDU2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU10Z2lXT2stWGM5X0MzR3VJYnhvMUlIeGkxNG9idnFoNnVETDRCUllUWjdJeXBXZ3lKSWpOTHQxZVV6NUdiWG9kbTh3WjVsMzhnaGNiZFM2NGdwYTU5eUo1bHZ3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AZDku_XSj1KFEH99voXhw0oQMvezCvMbeiiM7eiAHI_5yvRzpBq-D4xsMStyLA1jaQT6hTGbEw4P1bvA");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDExNzU5NTE2Y2YzMDI1NDZmNDQ4YjBiMjhmNGVjZGM1MThiZGVlMzkxNmQzNGUwMGY4ZWQxNmNjMTYzMzg2M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDJUMTc6NTM6MTYuOTg4MjU3MDU2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU10Z2lXT2stWGM5X0MzR3VJYnhvMUlIeGkxNG9idnFoNnVETDRCUllUWjdJeXBXZ3lKSWpOTHQxZVV6NUdiWG9kbTh3WjVsMzhnaGNiZFM2NGdwYTU5eUo1bHZ3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67ed861c6adcc', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67ed861c6adcc', 'paypal', 'buynow', 'rect', 'gold');
});
}