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/zscq2p2cgn9c/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ASLqdiZ5zuUegPJrTRizcT9MfK5XKZdSlzl-U0-YHenLL2EtBYCw6m8sCgx1QVLKxNgNgBmUzphzIVGG");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmY0N2E1ZGYxMDQzZDVlZTUzOTRlYjQ1M2RiZWM3ZTQ1Mjg3MDA4MTk0MDAzYjVmMDBiMzgwYTFlYjBkNDBmOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDVUMTY6MTQ6MTUuMTI3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBMdWRDVHQxQUF5VmJSNWlqT0NuRnl2R3pON0dONFpCRUs5d0c2ZnJXbVpLb1h4azFCc0N1VU9DUm1RbjBlR2tSdzRxaDNvTTYyd20wSzhBcXZmZGxub0RURnhnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dfdec8bc09f', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dfdec8bc09f', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dfdec8bc09f', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dfdec8bc09f', 'paypal', 'buynow', 'rect', 'gold');
});
}