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/epz0zx1qug71/plugin/6/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AdVSe0kdFZGskmqRsU9Lt2yjsN5-Z94T4fsU3vt8WFcGzDIUcYIMmK7uJuhpIXPcKQGrJrwTm6zQs_n-");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWY1YzE3YTY0NTRjYmM0YTYzZTJiYzBlMWVkYmM1NThjNzQxNWY2NTg3YTY0ODMwNjE5NTFhNjMyODk4YTVlZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMThUMTM6NTk6NTIuODE4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB2MmtYSnBhUXBxT0xBWWdqYTc0Sm1PaHpuYUNhcHgxZWEydnR5Y1U2V2U2djhLa0NaaS14UW1kb0NGZml1d2FtZ2pvOE1OSnp1MS04QzlraGcwbDltTFB5Wm1nIn19");
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", "AdVSe0kdFZGskmqRsU9Lt2yjsN5-Z94T4fsU3vt8WFcGzDIUcYIMmK7uJuhpIXPcKQGrJrwTm6zQs_n-");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWY1YzE3YTY0NTRjYmM0YTYzZTJiYzBlMWVkYmM1NThjNzQxNWY2NTg3YTY0ODMwNjE5NTFhNjMyODk4YTVlZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMThUMTM6NTk6NTIuODE4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB2MmtYSnBhUXBxT0xBWWdqYTc0Sm1PaHpuYUNhcHgxZWEydnR5Y1U2V2U2djhLa0NaaS14UW1kb0NGZml1d2FtZ2pvOE1OSnp1MS04QzlraGcwbDltTFB5Wm1nIn19");
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('6621322759015', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6621322759015', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6621322759015', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6621322759015', 'paypal', 'buynow', 'rect', 'gold');
}