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/0gnz8trabo5y/plugin/19/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ASP6xKc4lyyL722WYGxULFW9HdMIdgdFog_QdWwQz4K08GnXSx12WcNwB0TH5hSt4_6EDXsP7oEyFwgt");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMzNjM2ZjYzhjM2M5NTg0MTU0NmZmMjlmZGI2YjRlNDc4YWJmNmQ4Y2E2OTIxZTY4OTU1OGM0ZDI1YWI1MWEzNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjVUMDE6MDY6NTAuMDgyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1OMHFWMm1LUmxwbERxdFV1VFl3LTdwT2Vrbks4UG9INVd6S3JOX2xUekpqb0RfbHhBdHhhdFBMTFMwVTVqWGYwVGZJSmRybE9DamhJOXgzWTRJLU5hWnVCZnJ3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('641e50913a1f9', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('641e50913a1f9', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('641e50913a1f9', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('641e50913a1f9', 'paypal', 'buynow', 'rect', 'gold');
});
}