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/9xi0ypdttb8m/plugin/26/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARs2YO3tb9mq-Sf7AoyFHiI_2PyeLqIgJUo2HlyC8nx8ltTiSXpj6Ov_xxX1MzbTRlkj_lVxueksDc96");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWI1N2JmYTQ2YTFmMDE1MjA5YjlhMzlmOTAxM2FkODI1ZmMyMWJlZmRjYzlhMGVhNDBlMjNiNDVjNTdjYmVlZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMjZUMjA6MTg6NDMuODI1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU10Vy04eXF2VmtkSHd6dmpzOUk2eDZ2WXUxR0ptVG9hT3p3WDljWDJKb3VjS3JGTGxfS2ZYSDctS3g2V0JZVWxURUJSQ0Iwb2luVmJQLUtzRXVLWDJoREJtMFRBIn19");
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", "ARs2YO3tb9mq-Sf7AoyFHiI_2PyeLqIgJUo2HlyC8nx8ltTiSXpj6Ov_xxX1MzbTRlkj_lVxueksDc96");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWI1N2JmYTQ2YTFmMDE1MjA5YjlhMzlmOTAxM2FkODI1ZmMyMWJlZmRjYzlhMGVhNDBlMjNiNDVjNTdjYmVlZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMjZUMjA6MTg6NDMuODI1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU10Vy04eXF2VmtkSHd6dmpzOUk2eDZ2WXUxR0ptVG9hT3p3WDljWDJKb3VjS3JGTGxfS2ZYSDctS3g2V0JZVWxURUJSQ0Iwb2luVmJQLUtzRXVLWDJoREJtMFRBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64711557a85eb', 'paypal', 'checkout', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64711557a85eb', 'paypal', 'checkout', 'rect', 'gold');
});
}