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/rb90udoemv4f/plugin/10/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZ8CQXk6nVSpmyDgW9VotxuNWQLXYFIGQF5BEYEamWNFyskFCG4Q6km3P8erVI7PMXeaMHs3M0Xu8HDF");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTA1MjVmM2Q3YTU4YzFmZjVmOWIyN2ZiZTRhMTRjM2ZhOTRkMjg1YWVhYTA5Yzc4OWM1MjBiM2Y4MTg5MDA2MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjlUMDg6MDc6MjQuNDE1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9fY1NWS2hEaTdmTjlkeDFoN3Q2NkRhWlNjTWE4YjdUY3JET1Z0all1Uzd1VEZiSVhJQ1c1NXBrbTVyUTlqczFKVE9WeXZfNlQwOV9FcldQR0dFMDdYV1RqZDJRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('629329bc16fa5', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('629329bc16fa5', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('629329bc16fa5', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('629329bc16fa5', 'paylater', 'paypal', 'rect', 'gold');
});
}