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/fsxbsoqhfg6e/plugin/66/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQDbUHETw5sRUUsLM3jyAdOQGdC5pXHAuSiqy9GfZXflNR1sK45UcAGukA-3tq4P9HM_88JkW_nM9tGg");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmRjZjMxMDQ5MDM5YTY0OTBhNTBhZjkwYjUzOGJiYTQ2MjE1MWUxNzZiZTg2YTFiMjg3Y2UxYTYwZDI0MjhiOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMjZUMjE6NTk6NDEuOTA4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9BSUl1NGhlSjI2U1EweUN3cDNPRXdJZmJIV0VWTkdXS1VzeFY1VGZIeUFVSEhwWTF1ejRkVlpncGNUeVA4RnRfcktCb3EwN2NjcUVZXzE0X0Rpd2hNdUxvY2h3In19");
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", "AQDbUHETw5sRUUsLM3jyAdOQGdC5pXHAuSiqy9GfZXflNR1sK45UcAGukA-3tq4P9HM_88JkW_nM9tGg");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmRjZjMxMDQ5MDM5YTY0OTBhNTBhZjkwYjUzOGJiYTQ2MjE1MWUxNzZiZTg2YTFiMjg3Y2UxYTYwZDI0MjhiOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMjZUMjE6NTk6NDEuOTA4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9BSUl1NGhlSjI2U1EweUN3cDNPRXdJZmJIV0VWTkdXS1VzeFY1VGZIeUFVSEhwWTF1ejRkVlpncGNUeVA4RnRfcktCb3EwN2NjcUVZXzE0X0Rpd2hNdUxvY2h3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647139020bd34', 'paypal', 'pay', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647139020bd34', 'paypal', 'pay', 'rect', 'gold');
});
}