if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/8tradr7m1c08/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AfO-_uRDKjHtL0L9h44VC-zJMWurCFIs4ZQZO11e1B2tZt9HdmguvBS0RjTUECfVhVBo0InM_fSMaqPV");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzA0NzUzMzY3Y2Y2ODgyNDYxM2FiMjE2ZGY3ZmFhNDI4OGRlOWRiZTliNzliZGI4OTQ5YzAzZTNjNTIwODJmMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMzBUMDU6MTU6MDcuNjg5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1LZ1FHNXBWbXYwYlNuOHdYRk1pRVdqYm9HYnFVMkFLQ2hxaU9tbnRlanZhYWQ1WVEtWk94RWViYllXVE1YT3B5Ulc0MHNQQ2Juc0pYOFRWUlczUGlqbEVnaVRRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d7525b4598d', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d7525b4598d', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d7525b4598d', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d7525b4598d', 'paypal', 'buynow', 'rect', 'gold');
});
}