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/4czjknfq4gwh/plugin/8/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Af1bzuMKD7tLXPd_M6Cg6YE8GIOpV4hXkxm828lxPo9GsvwHOPtATQOtEnWtg2syikJdZxMGCra0I9ld");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzIzMWM2MGI5YjA3NzFhNDNlN2U0M2RiMzFlMmZiYTY4OWE5MTlmODhkYTM0OTQ2YTNhNDE1ZDExY2E4M2YxNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMjBUMTk6NTE6MjEuNDc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBNVFVhZWpzUlphWWNEcENjTmJleGFQbVJFcDJ4VllQUF9TTGdoa0haY2lUZnZaQkRJanExQ3dZbFNZbWR0SUpiQnJqSUxwT09jUE03MkMwa3p3T01hXzlyQWZnIn19");
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", "Af1bzuMKD7tLXPd_M6Cg6YE8GIOpV4hXkxm828lxPo9GsvwHOPtATQOtEnWtg2syikJdZxMGCra0I9ld");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzIzMWM2MGI5YjA3NzFhNDNlN2U0M2RiMzFlMmZiYTY4OWE5MTlmODhkYTM0OTQ2YTNhNDE1ZDExY2E4M2YxNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMjBUMTk6NTE6MjEuNDc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBNVFVhZWpzUlphWWNEcENjTmJleGFQbVJFcDJ4VllQUF9TTGdoa0haY2lUZnZaQkRJanExQ3dZbFNZbWR0SUpiQnJqSUxwT09jUE03MkMwa3p3T01hXzlyQWZnIn19");
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('673e4afebeb17', 'paylater', 'paypal', 'pill', 'silver');
});
} else {
renderPayPalButtons('673e4afebeb17', 'paylater', 'paypal', 'pill', 'silver');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('673e4afebeb17', 'paypal', 'pay', 'pill', 'silver');
});
} else {
renderPayPalButtons('673e4afebeb17', 'paypal', 'pay', 'pill', 'silver');
}