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