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/wxb1205wm6e0/plugin/2/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Aa6MbjulOWu_fK-JI7YM6Pyfpoi6fBhUwWmnZRmWiqWE5OZ6088nWll5sx4a8OCElTn6eAEzhc3WDe9D");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiN2IxMWZhYmNlYzg3YmRkYzg0ZTU4OTMxOTcxY2I1OGMxMjk0MDAxN2E4OGIwMDNiZWRjOTZkZTg1OGM3YTAyOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMTZUMTU6Mjg6MDguMTg1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5ZLWJ1bW50Z0RTcHF4emp2Mm5FU0dKLUtlZVBlS1ExZTh6NlZmSk5FR2p3N3hOZWc4R3BTdmdZZGZIbUFSSWgwTFdEa1hoZWJqbkI1S2puSkt4YU01UkxESzdRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66969e3042e1a', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66969e3042e1a', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66969e3042e1a', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66969e3042e1a', 'paypal', 'buynow', 'rect', 'gold');
});
}