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