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/d0tv4ohbszi3/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AaAnlljgDlaYiV0LhvdXOIOLFrDbbZdevcjAOrCjfd3PTgucNiQne_ZgsOWlH4eM7PnDdPLVnYtc3789");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYmY4ZTc0YmE3MDg1YjNlZDk3ZWM4NDY5NjA5NGY3ZWE2NWQ4N2Q5MWM2NjI5MmQxOGM3NmZhZjFiMDY0MWE1Y3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMTdUMjM6NTc6NDIuNDU2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5EZ2tJeHFyUG9YSnVhVWpueFduUk9VLXdWS3QtNGlMaWk1a2NwWXFYc0pWdVBXZzNqMk9VeWZrSC1OeEV2VDZlZ3ZOUkptdjZYUzRyd3hFd2hjZWtCc0JZSHJ3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('66985a75d40c2', 'paypal', 'buynow', 'pill', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66985a75d40c2', 'paypal', 'buynow', 'pill', 'blue');
});
}