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/iv7bpza3y0tq/plugin/58/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Abev3GpwmyPT8xoR-HHbaZB2oc2cuRPkdH4MrHlgukQylPD5cJs8f53U87RNBvzMRVZcNi-i1skHNG5T");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWI1NGNhODFlZDA2ZGNlNGM0OTI4MDdkZDljMWI2MGZlNGY5YzcyYzIyYjQ0N2IwYmZhYjdiMGYyMDllNjNlYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTU6Mjg6NDcuMjE0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBPSmlWQWxtXzZ1NHN4Z3lpTWNBbEp6VXNPMkQ2czBkLWxuNlU4X203M3VxWUphN0FZVEhfSVE3TzdFWlJrX1BRS3lQQ2s3VUJpWjVKSEdwTGhXMWVad1ZzMndnIn19");
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", "Abev3GpwmyPT8xoR-HHbaZB2oc2cuRPkdH4MrHlgukQylPD5cJs8f53U87RNBvzMRVZcNi-i1skHNG5T");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNWI1NGNhODFlZDA2ZGNlNGM0OTI4MDdkZDljMWI2MGZlNGY5YzcyYzIyYjQ0N2IwYmZhYjdiMGYyMDllNjNlYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjhUMTU6Mjg6NDcuMjE0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBPSmlWQWxtXzZ1NHN4Z3lpTWNBbEp6VXNPMkQ2czBkLWxuNlU4X203M3VxWUphN0FZVEhfSVE3TzdFWlJrX1BRS3lQQ2s3VUJpWjVKSEdwTGhXMWVad1ZzMndnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6605926da3c38', 'paypal', 'paypal', 'pill', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6605926da3c38', 'paypal', 'paypal', 'pill', 'white');
});
}