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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDhhYmY2NDNiMDRjY2Y5ZTAxMDE3Y2E0YWZmMDYwZDYyZDExZWM5ZDI0YzlmNmIwYzA1MmQyZWVmN2Q5MDhkMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDdUMTY6MDE6NTQuMTE1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU11cHN1YXUxYU1IYW4xSmJsNENIb0FNbXlRcTBUZ2hoLUdjODg3Mk8xd3dsRWVSVm9lN1VaTUhYR09ZdGo2ZmRZZC1DOERQcXpvRDd6ZGRDQmZUUkhqdEVxRUJBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c70371bf985', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c70371bf985', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c70371bf985', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c70371bf985', 'paypal', 'buynow', 'rect', 'gold');
});
}