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/faoh9halel50/plugin/39/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWxdMGSVNoizpZFUkRN8xeQdHuitTdVQW1MJGBSzChkufdWg10gZB0LuAXzreyiFNPOj_drBARnGIHbF");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGFkYjdlOGI0NjQ4ZDQ2ZjRkZjhlZDI2NzM4ZmY5ZjUxNjRlMTcyZDg2NDNmYjUxOTgyOGRmOTM5YWE1ZmIwY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDRUMDg6MjA6NDguOTc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU92UkdEVWs1R3hpck1iWUk5bnh4em1wbFhtYXNKRDNDcjNzdzlWMmJzaWNMTWZuYjhSZmtDcjdSRDd3SFR1RGF1cGFDYk9TazFEaXF3S3pOZVIwbXdEM2RGQXp3In19");
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", "AWxdMGSVNoizpZFUkRN8xeQdHuitTdVQW1MJGBSzChkufdWg10gZB0LuAXzreyiFNPOj_drBARnGIHbF");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGFkYjdlOGI0NjQ4ZDQ2ZjRkZjhlZDI2NzM4ZmY5ZjUxNjRlMTcyZDg2NDNmYjUxOTgyOGRmOTM5YWE1ZmIwY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDRUMDg6MjA6NDguOTc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU92UkdEVWs1R3hpck1iWUk5bnh4em1wbFhtYXNKRDNDcjNzdzlWMmJzaWNMTWZuYjhSZmtDcjdSRDd3SFR1RGF1cGFDYk9TazFEaXF3S3pOZVIwbXdEM2RGQXp3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647c52e31895f', 'card', 'buynow', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647c52e31895f', 'card', 'buynow', 'rect', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647c52e31895f', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647c52e31895f', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647c52e31895f', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647c52e31895f', 'paypal', 'buynow', 'rect', 'gold');
});
}