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