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/qddd911h1zyd/plugin/46/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXznpLh_OibbmuugDTNs1vYywgLYUXplHFxy-NlIYvGDFYE5jgRG48gP6AGYv2QEAKO-ZRageIM_pmxX");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGY4NmZjZjc0ZmQ5MDA1MTAwNjBhMTZiMWM0OGQ0MDJkNmJhYjZmYWFkOWE5M2JjZWZhYTY5ZjU1NzQ4OTQ1OXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjlUMjE6MjY6MTEuNTM1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9EeEZzZHJmWl9BSTB0OWFwS081eTdrelBkTGNsbFZMalRndFdxeHh0dF9pa2ZwcjZQYndTUkxkd0dOd0ozMGxTOEhlSkN1a3h0OHBQZHlrVzhOTGk2ZXVxdTJRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bcc37312e7a', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bcc37312e7a', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bcc37312e7a', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bcc37312e7a', 'paylater', 'paypal', 'rect', 'gold');
});
}