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