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