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/zi6ae0fjhcun/plugin/91/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVyirHkci3klK8EyH4vR4Wmr5b947B6uG_V3YyX2ysVGCEInoHZRh1o6fx5Rtu0fLiICX2stKFxLh2L4");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYmZmYjhmYjkxNTAzY2IzY2YwZDAyZjk5OGFmNmE4OGIxYjUwNDY0Njg4ZjY4OGYxN2ZkYjRjM2NiMDAyODBlZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMDhUMDc6MDg6MjAuNjMxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU01MmhjZ29jTVdFZ29kTVNtdnBlVmZvU3pYNFhNOGZnZWc4d1F3ZzJqQnZkdEphdEY5TkRBd3J3Y21uOTZqUXk4d3cwQks4OWdKZjFOQmZRZFNpbThmUWhKR2FRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('640841297a5f8', 'paypal', 'buynow', 'rect', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('640841297a5f8', 'paypal', 'buynow', 'rect', 'blue');
});
}