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/wbdw2qxcn0h6/plugin/13/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXJCMCsW5kaSYGS1cyqH1-hLwDeqfdWYD4i6za19bgOR9QyokKmFXWnuxdssrvLcy4GwDoH_qs7GIds8");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZmUxYzhiNmZiNTI2OTlkOTIwYzA0MzY3NGM2NWI3MjNlMzUzODBiMzM4MTFiNWY5OTZkMjNiNDQ3OWIyMTcxOHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDYtMDZUMTI6MTI6MTkuMjAzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5JaExLOG1aRlBWbzVrTFlQOThsOG9RQjNYMFN5TE5fd2ZnRXMwQkdlLU4tSHYzM052T1Bmb25VSlNscEVBb0xGa0M3YUlBZTY3SS13QnotOHpwQURjcnp1QzlBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647f29ec1564c', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647f29ec1564c', 'paypal', 'buynow', 'rect', 'gold');
});
}