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/zi2gc55sp7pn/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARIYaxpsVlLn1M60B0E4xVwgrsgBnaJC9t_3yoT-j-nIqyqYLTHM3pRg_oMIKgEuWR3S19nACf8gCMik");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNGRjZTAzNzIyOWFhNWZiNDQ5ZDU1ODc5OGRiNTA5ZTg5YWVlNjg5ZTRiNjU4MmFhNWVjYWE1NjY3N2FkNzYyZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDJUMDI6MDg6MzYuNzYxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBPZVBjSXVBb0tNYlYtTENWRUJoTXpnbzEyZHBiNFdOSUEwVmxqOWlHcGl0V1o4and2a1FidWpURHNBeVBfTWx2Wi1VQlBBaGdiNHQ4ejdueUsxNHdySVhrVGV3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bfa8a46fe4b', 'paypal', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bfa8a46fe4b', 'paypal', 'paypal', 'rect', 'gold');
});
}