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/6eicsunvxeja/plugin/8/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AcfOoIckGTg_b0ZJfyQxwiiykOSnqvqq-JJhWDUhIioJ8qL3RKtm9W0H3VrTBu9Kv9DwSAF79PKYdnVe");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZWRiODIxMDM1NDg3MmQ1YzZjOTAwNmY1NTQyOGFiZmU2YTA0ZGJiZTMwNjNhZmY5NTBkYmY4N2I1NDI5OGVkZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMDdUMDI6Mjg6MzEuOTY5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU0xMTBBbWpBSWdrSTZzOHRMSld2d19tempXZEJfY2Izazg4eG9XZWRfRFBnTmhmQXAxYWFqbUlFNi1wQkc2c2s0anFVMDBTa1FPejB3UnYzM1hXYzZ3TGhJQjVRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6406a14f77f20', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6406a14f77f20', 'paypal', 'buynow', 'rect', 'gold');
});
}