if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/0g0quyrt02bw/plugin/11/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AenfGOqcfCRRoWENV8qSKTdJWym3YUkQWybdsLDYvjMWv_0r3OE3UkmkW1VcFW73mLtfyYhCy_IjmBgt");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjdmMjlkNDM1NDYwYzdmYTAxNDA0MzMzNzdlNTIyZjI5MzQ3ZjNhY2ViNmEzMWRiNGQ4YjM0MWNjNDkxMGUxM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMTNUMDM6NDk6NDguNjQwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU14eDJzdWhrYjBCdUV4VWxUeXZaTlFCUFdBNFV1WTRPeUtHU0JoRFE0TUhUX1pWRWZSc0RpRWFiMWRYQmJXYjhDUHZPcHRYbDNLd1JuZU5pQkV0TkZsN3ZWMTNBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AenfGOqcfCRRoWENV8qSKTdJWym3YUkQWybdsLDYvjMWv_0r3OE3UkmkW1VcFW73mLtfyYhCy_IjmBgt");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjdmMjlkNDM1NDYwYzdmYTAxNDA0MzMzNzdlNTIyZjI5MzQ3ZjNhY2ViNmEzMWRiNGQ4YjM0MWNjNDkxMGUxM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMTNUMDM6NDk6NDguNjQwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU14eDJzdWhrYjBCdUV4VWxUeXZaTlFCUFdBNFV1WTRPeUtHU0JoRFE0TUhUX1pWRWZSc0RpRWFiMWRYQmJXYjhDUHZPcHRYbDNLd1JuZU5pQkV0TkZsN3ZWMTNBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('670b44874d5b7', 'paylater', 'paypal', 'pill', 'silver');
});
} else {
renderPayPalButtons('670b44874d5b7', 'paylater', 'paypal', 'pill', 'silver');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('670b44874d5b7', 'paypal', 'buynow', 'pill', 'silver');
});
} else {
renderPayPalButtons('670b44874d5b7', 'paypal', 'buynow', 'pill', 'silver');
}