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/5zsd8cligdud/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQWh156DG6-kZLopqriiwbyATk7C6LqNWBdUQjzcKksE7NvqjcNJ_dnUGCWmRz2ghsvC3v1bscS-hlK3");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiN2M0M2YyNjI4ZDQ4ZGM0MmFkNjk4NTU5YTE3YjgyZmY0YjZhOGRlYzIxN2Q0ZmU1NDU1YzU2N2M2M2NiYWU3ZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjRUMTA6NDE6MTRaIiwidmVyc2lvbiI6IjMtcGF5cGFsIn0sInBheXBhbCI6eyJpZFRva2VuIjpudWxsLCJhY2Nlc3NUb2tlbiI6IkEyMUFBTWFFQ1EtaFVlU0lVTmFUTWd4Rl9sZVhOWW9ua21EWi1nblZScms5QW00WEFtU04wY1lIMzd5MGNSN2RFSi1qeGoyQTY5NHdIYi1zeTRIcWU3bW5Rb1RIdWhHUGcifX0=");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6628e7a7b5567', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6628e7a7b5567', 'paypal', 'buynow', 'rect', 'gold');
});
}