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/fsxbsoqhfg6e/plugin/68/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQDbUHETw5sRUUsLM3jyAdOQGdC5pXHAuSiqy9GfZXflNR1sK45UcAGukA-3tq4P9HM_88JkW_nM9tGg");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzVkZjcwOGQ1N2I2ZTZkYTViMTNhNTc1ODQxNzJjZGMxMWQ5MDZmODZlNzljYzIyNDg5YzUzMGUxZmJjN2M5YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMjlUMDI6Mzc6MTUuMjgyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBXbFZJU2g4TzFSSTk4TklybVFKdWJuNHRMTGFJb2YwZlI4SGFxaE9lNXRCTkx1clZESHNIM2lZUWcwZUMxcjd1MEhZMDlwdG9zRkRDY3ZaRTdEeWlpOTlTSEdnIn19");
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", "AQDbUHETw5sRUUsLM3jyAdOQGdC5pXHAuSiqy9GfZXflNR1sK45UcAGukA-3tq4P9HM_88JkW_nM9tGg");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzVkZjcwOGQ1N2I2ZTZkYTViMTNhNTc1ODQxNzJjZGMxMWQ5MDZmODZlNzljYzIyNDg5YzUzMGUxZmJjN2M5YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMjlUMDI6Mzc6MTUuMjgyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBXbFZJU2g4TzFSSTk4TklybVFKdWJuNHRMTGFJb2YwZlI4SGFxaE9lNXRCTkx1clZESHNIM2lZUWcwZUMxcjd1MEhZMDlwdG9zRkRDY3ZaRTdEeWlpOTlTSEdnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6566ac85bfb2a', 'paypal', 'pay', 'rect', 'gold');
});
} else {
renderPayPalButtons('6566ac85bfb2a', 'paypal', 'pay', 'rect', 'gold');
}