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/fq266pe6a8zs/plugin/50/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Aaqi6sVSu0SOcMDiaWmhKSfW_MyVZqI3UOS1p8_RTx0aDx3oZrBaVAf4TU01WVgSGXVgCNePuiBJ0d2b");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjRjNjYzZWQ0NTc3YmY4MDllNzRmZjhlYTQ2ZTI3N2Q0NGRlNTMwMjUzYzcxNWEwNDNhYTc0OTc4Y2NjZTU0Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMjdUMDI6MjM6MzguMDc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU83SEpPX2t5VHl6ejNNMlV0a3dENFphb0drazR1djY2Q3JBS1pMeUttcTg0S0x6R1lWaUVPZ1J4b1FkbHAtZ0dMYXRoNlFoLS1LYXJfbVFrT0djSVV5ZW9DQjJBIn19");
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", "Aaqi6sVSu0SOcMDiaWmhKSfW_MyVZqI3UOS1p8_RTx0aDx3oZrBaVAf4TU01WVgSGXVgCNePuiBJ0d2b");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjRjNjYzZWQ0NTc3YmY4MDllNzRmZjhlYTQ2ZTI3N2Q0NGRlNTMwMjUzYzcxNWEwNDNhYTc0OTc4Y2NjZTU0Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMjdUMDI6MjM6MzguMDc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU83SEpPX2t5VHl6ejNNMlV0a3dENFphb0drazR1djY2Q3JBS1pMeUttcTg0S0x6R1lWaUVPZ1J4b1FkbHAtZ0dMYXRoNlFoLS1LYXJfbVFrT0djSVV5ZW9DQjJBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66a464686527e', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66a464686527e', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66a464686527e', 'paypal', 'pay', 'rect', 'gold');
});
} else {
renderPayPalButtons('66a464686527e', 'paypal', 'pay', 'rect', 'gold');
}