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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTQ0MWE5NWUzMGI5M2E1NDk1MjY3ZmUyYzE3YTIxZjE4OTgxZTY2NjMzM2MyNmQ2NjE1MTJiNzEyYjBiYTUwZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDctMDJUMDE6MTI6MTUuOTk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5DOERuYXByTlV4OWdjN0EtZGdlSFptOU5SckZjS0I5X1dBRUNZSGpNc0FlNnhqblVSdUdvVURmNkNrYURwUjZnUzNGVEEyMUZ3bGZ1OHhnR2NPWndYZVluYnhBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62bf9b6f9961c', 'paypal', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62bf9b6f9961c', 'paypal', 'paypal', 'rect', 'gold');
});
}