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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDM4M2VjYWFlOThlMjk0YjZlZjMzZWQ5NTgzYjUzZTAzY2E4NGIxMjI4Njc1MGUxYjkyYTdiODE4NDYzNGVhZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMjFUMTQ6NTk6NDAuMTQ2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1hZjNxRW5CZVQta2VjcUdraHQ3RXBrN3VKN0pfdUMyeHpsZkFmSDVGdkVIMHp6d1FnOTJOTDlDSVFsSy1GRWxvNEVMekpYNDNNcDIyZHRhT0ozbENWYi1QQWRBIn19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDM4M2VjYWFlOThlMjk0YjZlZjMzZWQ5NTgzYjUzZTAzY2E4NGIxMjI4Njc1MGUxYjkyYTdiODE4NDYzNGVhZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMjFUMTQ6NTk6NDAuMTQ2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1hZjNxRW5CZVQta2VjcUdraHQ3RXBrN3VKN0pfdUMyeHpsZkFmSDVGdkVIMHp6d1FnOTJOTDlDSVFsSy1GRWxvNEVMekpYNDNNcDIyZHRhT0ozbENWYi1QQWRBIn19");
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('673f5605f3d7d', 'paylater', 'paypal', 'pill', 'silver');
});
} else {
renderPayPalButtons('673f5605f3d7d', 'paylater', 'paypal', 'pill', 'silver');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('673f5605f3d7d', 'paypal', 'pay', 'pill', 'silver');
});
} else {
renderPayPalButtons('673f5605f3d7d', 'paypal', 'pay', 'pill', 'silver');
}