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