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/3fg918det71l/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdMajk9uKVDav1pOUaPtodu4pDck33oka5mpKwYY5cfhvMCYJzpn3S9LGBO4aiA6mIhmYf7VdKR_qqKN");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjI5OWVkMjg1YmI4NDY4YjAyYWI0MDdlYjA1MzAzOTY4MDdiZTNjOTZjMTNiYzhhZGI1YWRiOTcyMGEwNDVkM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMDdUMDg6MTc6MTYuMTYxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA2bmdmOXVIRktXckZwMllMc0I1OGRMSkUwems5UzJXZDBZV3I0V0E1RUh3LThudzl4bWJIYkd6TFlMeGxkMnhQOG1kSmNkWHFKeWFNNG0ySU5xWVhFTWFNZjVRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6406f67b77243', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6406f67b77243', 'paypal', 'buynow', 'rect', 'gold');
});
}