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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWIxZWRiODUzYjU4YjY4YjQ5Y2FmNDg2YzU4MjZkNTU1NzRiNGFhZjY2MWY0YmU2YjkyY2VhMjhhZDIxYTI5MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMDE6MDI6MDYuNDEzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU40Z0d4RHZTSlNaNW5sencyZVpoeF95dDg1ZU9WX0hJcExiZ3VwZ3UwSkdQeTgtUWkyN3FZYkpObTRxS041aFB6Qkg0cjE1ZnA5TS1XLUhvN3I2b2ZGRmZUWGlRIn19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWIxZWRiODUzYjU4YjY4YjQ5Y2FmNDg2YzU4MjZkNTU1NzRiNGFhZjY2MWY0YmU2YjkyY2VhMjhhZDIxYTI5MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMDE6MDI6MDYuNDEzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU40Z0d4RHZTSlNaNW5sencyZVpoeF95dDg1ZU9WX0hJcExiZ3VwZ3UwSkdQeTgtUWkyN3FZYkpObTRxS041aFB6Qkg0cjE1ZnA5TS1XLUhvN3I2b2ZGRmZUWGlRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6629b2933a76b', 'paypal', 'paypal', 'pill', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6629b2933a76b', 'paypal', 'paypal', 'pill', 'white');
});
}