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/dfo16woutjhq/plugin/14/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AS0KEJLBfvMjfEeiRJIGMx8Eenxp99h5AtO8bXPPwYVe7m-AetwIs7jKjpf_IMbwISE99-UxoAfkcu8C");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYThiYmFlNTMxMjZmZDhlZTFhMjU3MjI0ZDFlMzU4Y2IxOTE5ZjA3ZDE5YjIxNzc0Y2Y0NjAwNDZiNjQwZmQ3ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTlUMTU6NTA6NTAuMjY1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBpU0RzSXN2N3gxekcxQ1c0WlcyWTZveElLSTljS3haMFgyWDhRM0l6cUtSaTBsS0JzYll0a1l5UmxtU1huUHV1V0xucnktU2ZzcHBCRjZjdFM3N0F2dEJTYzRBIn19");
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", "AS0KEJLBfvMjfEeiRJIGMx8Eenxp99h5AtO8bXPPwYVe7m-AetwIs7jKjpf_IMbwISE99-UxoAfkcu8C");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYThiYmFlNTMxMjZmZDhlZTFhMjU3MjI0ZDFlMzU4Y2IxOTE5ZjA3ZDE5YjIxNzc0Y2Y0NjAwNDZiNjQwZmQ3ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTlUMTU6NTA6NTAuMjY1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBpU0RzSXN2N3gxekcxQ1c0WlcyWTZveElLSTljS3haMFgyWDhRM0l6cUtSaTBsS0JzYll0a1l5UmxtU1huUHV1V0xucnktU2ZzcHBCRjZjdFM3N0F2dEJTYzRBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('664a2ab374cf2', 'paylater', 'paypal', 'pill', 'blue');
});
} else {
renderPayPalButtons('664a2ab374cf2', 'paylater', 'paypal', 'pill', 'blue');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('664a2ab374cf2', 'paypal', 'checkout', 'pill', 'blue');
});
} else {
renderPayPalButtons('664a2ab374cf2', 'paypal', 'checkout', 'pill', 'blue');
}