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