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/d6fedazio4ai/plugin/24/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AaLruxa_dlPo3hP1JqgV2KeeR2eZPK8g3kOgpcMOgB_TnEst3V9d-OwXjoxo_TD9G8aU5QZSLBMpKZFp");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTc5ZTFmMTIyZjk5MDllZjE4YTc5ZjA0M2E3NmI3MWM4Njg0ZDQ0MzQ2OGJlZjc5YzZmNWU5MGVhZmI2NjhhNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDQtMDJUMTA6NTI6MjAuOTkzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5oN2M2cm91RndDcTV0OTNfSnVqLXpWTS1WeklnaEp6Z0FJazZ6RndZZWhsVUcxcU5BeGdKQUNUQlR1Xzg5YnIxUFppbXF2cHVfYno2Z19tYXdVLVgzNmVfclV3In19");
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", "AaLruxa_dlPo3hP1JqgV2KeeR2eZPK8g3kOgpcMOgB_TnEst3V9d-OwXjoxo_TD9G8aU5QZSLBMpKZFp");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTc5ZTFmMTIyZjk5MDllZjE4YTc5ZjA0M2E3NmI3MWM4Njg0ZDQ0MzQ2OGJlZjc5YzZmNWU5MGVhZmI2NjhhNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDQtMDJUMTA6NTI6MjAuOTkzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5oN2M2cm91RndDcTV0OTNfSnVqLXpWTS1WeklnaEp6Z0FJazZ6RndZZWhsVUcxcU5BeGdKQUNUQlR1Xzg5YnIxUFppbXF2cHVfYno2Z19tYXdVLVgzNmVfclV3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64295ea3c4a7b', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64295ea3c4a7b', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64295ea3c4a7b', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64295ea3c4a7b', 'paypal', 'buynow', 'rect', 'gold');
});
}