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/t0uqnrskoniu/plugin/55/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ATndZiJkRJ_5HBchOL7rRMKAFmpz1K51_esY_EjqjxGvYJxYv13a9ejDHyV6CEoLbdgg22MsxeJAO9yq");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzJkY2Q3YzhmMzAyOTA4OTk5MmRkMGM2ZGUzYTFmYTAxNDMxNmE2MmM0YjQyMDA1MWQyZGY2YjA4MjI4YWY4NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMzFUMDY6NTE6MTkuMTc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA4SUpyNHRfRnN2TUFrZDlQdDZ2SWxSOS1ycVE5NWtVR2REWUhSS2FtYnBNSWx2bGxoNURUZ1VRc19KaDNhVU9ORy0xT3pUd2RLcDJ6anRHQUlpdElPcFc5eTFnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "ATndZiJkRJ_5HBchOL7rRMKAFmpz1K51_esY_EjqjxGvYJxYv13a9ejDHyV6CEoLbdgg22MsxeJAO9yq");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzJkY2Q3YzhmMzAyOTA4OTk5MmRkMGM2ZGUzYTFmYTAxNDMxNmE2MmM0YjQyMDA1MWQyZGY2YjA4MjI4YWY4NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMzFUMDY6NTE6MTkuMTc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA4SUpyNHRfRnN2TUFrZDlQdDZ2SWxSOS1ycVE5NWtVR2REWUhSS2FtYnBNSWx2bGxoNURUZ1VRc19KaDNhVU9ORy0xT3pUd2RLcDJ6anRHQUlpdElPcFc5eTFnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('642687774a8b7', 'paylater', 'paypal', 'rect', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('642687774a8b7', 'paylater', 'paypal', 'rect', 'silver');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('642687774a8b7', 'paypal', 'paypal', 'rect', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('642687774a8b7', 'paypal', 'paypal', 'rect', 'silver');
});
}