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/32itjw7xltx8/plugin/2/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AZusJUegaXkadg6Dgzx9To6OBM2-r07I0ct2OkqLLifAKa0Vnx8krZayCTPUcWdl_gwyPSisa55zCbvy");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGYzYjA3YTZhZjkxOWY5YTI1OGIzNjFhNGUwOWI0MWQ0NjAzMjY3YjJmOWQ1MmJmYWU1YzQ3YWU5NTc4M2Y1NHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMDhUMDM6MTU6MzEuNDYxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBVNzUwRXBrVVVIS2pxcDgtNGxOWHp4UnlOaXBJaEhJUmpvU2tnTVUyT3g2c3ZIMHRZb2hOenZTREZkSEh2eWNfSUg0aEp5MVpTSVB0XzdFVTMwQjNtejJnbmdBIn19");
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", "AZusJUegaXkadg6Dgzx9To6OBM2-r07I0ct2OkqLLifAKa0Vnx8krZayCTPUcWdl_gwyPSisa55zCbvy");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOGYzYjA3YTZhZjkxOWY5YTI1OGIzNjFhNGUwOWI0MWQ0NjAzMjY3YjJmOWQ1MmJmYWU1YzQ3YWU5NTc4M2Y1NHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMDhUMDM6MTU6MzEuNDYxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBVNzUwRXBrVVVIS2pxcDgtNGxOWHp4UnlOaXBJaEhJUmpvU2tnTVUyT3g2c3ZIMHRZb2hOenZTREZkSEh2eWNfSUg0aEp5MVpTSVB0XzdFVTMwQjNtejJnbmdBIn19");
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('66136a3071f64', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66136a3071f64', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66136a3071f64', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66136a3071f64', 'paypal', 'buynow', 'rect', 'gold');
}