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/lebkfamdj2iv/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AcvaADdEZZxwxSuYA4QBw4Yg6o0Tz1cFfkBLGgYfROmjiipuP4ma0AymHU3u-vxw8NqaxHvMucVa69O-");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzcyNmRjNWE4MjFjMTQyODhkMGM5MmU0YWVjN2M3ZWE2MDQ2OWUzNzUwOGNlZjI3YTZlNzdhYmI5NjRmNDljMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjdUMDI6NTg6NTQuNjA4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1rc3A5a3BXTk92S25GbVRLMU9OUU5TUEU0S3ZjWFo1X3B1TnJtOFd1d3ctbHh0NEFVaXRXZnowY1FocndOWl9CbGRud3N0SEhhTkV2MVNfVHB6SFdxT0g1V2FBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b91cee4130e', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b91cee4130e', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b91cee4130e', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b91cee4130e', 'paypal', 'buynow', 'rect', 'gold');
});
}