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/zi6ae0fjhcun/plugin/94/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVyirHkci3klK8EyH4vR4Wmr5b947B6uG_V3YyX2ysVGCEInoHZRh1o6fx5Rtu0fLiICX2stKFxLh2L4");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTUwNDM1MWU2MzM3Mzc2YzA4N2RiNzEyYmVjOTgzNzkxNGVlOWQzZmMxYjY2ZTE4NjFiNzI5Mjc5OTU0MjhmNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDJUMjM6MzA6NTIuNjM2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4wTGJNbWtYd3BJYm9PRnU5bEV6NmVXOXJKTFFnM3J3U3ZMMHI5MlZWLVFIblFZYnpsbXRWdnUyb2x4ZWpZNHZ3djdlT3g0eHRGRllVbE1PRmxqRmNFdjh2QURnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dc5021c6a7d', 'paypal', 'checkout', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dc5021c6a7d', 'paypal', 'checkout', 'rect', 'gold');
});
}