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/0mx738cqevf1/plugin/10/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdKh3U55XBrlYet93ChJs6Oakgb2f34jG-yP4XWJab45dRC-rxnl_0uJYv35vta9nk-tqXL2KDFs8K3k");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzY2ZmI3YjkxNmZmNzE5ZmEzNmU5OWYxNzY5YmUzMzljNDRkNjUyYzBmYWExMGM4ZTllYjgyODkyMjg5ZjBiY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDJUMTQ6NTg6NDAuNzAwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU42bkZZbGtzbXItUUpkazhaRzFNTFVpa3BaQTZMYWF1QjVjdnZJLVBoU2dDMG1VRVpDdW1NajNoT2pLYW5JUlAyU3RsYjRlSV9sOWE3cUtnd2pCal9OSE1CMkhRIn19");
script.setAttribute("data-append-trailing-slash", "1");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c05d20008f4', 'paypal', 'buynow', 'pill', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c05d20008f4', 'paypal', 'buynow', 'pill', 'silver');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62c05d20008f4', 'paylater', 'paypal', 'pill', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62c05d20008f4', 'paylater', 'paypal', 'pill', 'silver');
});
}