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/9w32s9up0arg/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AfyRkAl6bQ5NqEKhN-XbcVvrjVkewSgWifXDsIbwOhp682o0uO3ra-MmLM-GagvDIx1J-vhBR07zM7do");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWEzNWQ1YjIxNTA5MTVjMDRkNTM4NzBjN2ZkMzYyM2JkYzk0ZDUyYzk1OWMwNTg2OTEwYTdiMmZjOTAxNDgwY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMDZUMjA6NDI6MTQuNjk2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1oR0tiOWhCU0ZZNXNKS1VFMDZVSjllNlRlV3BMbDdmb0R4T3h2T3FGdEtKNEVfbnRfMHZVdUVua21wNXNmTjAxMkhyc1NBaU9EeDBqWEhieWlzTmNsSWZlTjRBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6570dca54dfc7', 'paypal', 'buynow', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6570dca54dfc7', 'paypal', 'buynow', 'rect', 'blue');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6570dca54dfc7', 'paylater', 'paypal', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6570dca54dfc7', 'paylater', 'paypal', 'rect', 'blue');
});
}