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/cfugbtln6xm7/plugin/16/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdWuJL0_4QpCbc-1eblds8MOx896v6xVNw109dbcaK9_qu3IMAx_Xtb83eYFPUK50prUeIgng6AThqrS");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzgxNWE2NmEyMWJlMDIyZTkyZDg5MGRiNGY4NGEyNWJhZmQ4ODNkODEzOWY5MDNhNmYzZGY4N2FhODNlNzdhN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjZUMTM6MDg6NTcuMjE3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1zc19QQXR3OXBfLVc2RTBtbi1wSUJ2cGhUQWZ3U1M3UTBMZ01oQnVXdFdKS1FkdUpEMTZSdVZ3N29LZFlFRWhPMjJhaXQwVEpmLXF1dFpSOUhXdWo2czAxZl9BIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AdWuJL0_4QpCbc-1eblds8MOx896v6xVNw109dbcaK9_qu3IMAx_Xtb83eYFPUK50prUeIgng6AThqrS");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzgxNWE2NmEyMWJlMDIyZTkyZDg5MGRiNGY4NGEyNWJhZmQ4ODNkODEzOWY5MDNhNmYzZGY4N2FhODNlNzdhN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjZUMTM6MDg6NTcuMjE3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1zc19QQXR3OXBfLVc2RTBtbi1wSUJ2cGhUQWZ3U1M3UTBMZ01oQnVXdFdKS1FkdUpEMTZSdVZ3N29LZFlFRWhPMjJhaXQwVEpmLXF1dFpSOUhXdWo2czAxZl9BIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6420451de7b7c', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6420451de7b7c', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6420451de7b7c', 'paypal', 'checkout', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6420451de7b7c', 'paypal', 'checkout', 'rect', 'gold');
});
}