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/baq8d80g246h/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Aclz7UwofqTVJBPDZkYjz5v0PZ7pgtEjBjXDVmD5auoUzBCQN-B64aR02iLP9dP8Xsgiw9dy3HM71wKU");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWFiZjlkN2RiYjdiYWE5MzU0ZDM3MzVhOWY5NjIzNDhlYTgwMmE0Yzg4ZGI0MWEyMjM1NmIwZTMxNzc2YzkzY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMDhUMDM6NTg6NTYuODg3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1xXzlrNm9TQ2h1eHJIQmljZGVYLW1qeEdVc0FENWRZOVZjSU54WDI2anpEVUdZMHU5TGxUemFQN3FpRURBYUx1Um9rSGFTb0VBMmlrMV9peWNlaUNqZXBXNVFnIn19");
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", "Aclz7UwofqTVJBPDZkYjz5v0PZ7pgtEjBjXDVmD5auoUzBCQN-B64aR02iLP9dP8Xsgiw9dy3HM71wKU");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWFiZjlkN2RiYjdiYWE5MzU0ZDM3MzVhOWY5NjIzNDhlYTgwMmE0Yzg4ZGI0MWEyMjM1NmIwZTMxNzc2YzkzY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMDhUMDM6NTg6NTYuODg3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1xXzlrNm9TQ2h1eHJIQmljZGVYLW1qeEdVc0FENWRZOVZjSU54WDI2anpEVUdZMHU5TGxUemFQN3FpRURBYUx1Um9rSGFTb0VBMmlrMV9peWNlaUNqZXBXNVFnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64587b1576bf9', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64587b1576bf9', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64587b1576bf9', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64587b1576bf9', 'paypal', 'buynow', 'rect', 'gold');
});
}