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/va111pypex47/plugin/40/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AeFvNKFP0zZNpTD7g6b-8_mgRlBWftpmccF6k7EsA-jfxtlGIU3gfMKZ0VNaToEQwjD9jtS6Qkmo_34M");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmZlZmRjZGJiNTYyMWYxOGE1Mzc2MTA3ODU0MmFlNTdjMDAzOGI0MjU3NzQwMWQ3M2QwYzdjY2YxYjZkYjIzOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMzBUMTQ6MjI6MjkuNjQ3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBPMDIwYW5JLUF6c1VQNFRaMTNFUXZMSjZNb05YczFLenZ5Wm5tSkhfMG5QZ1h3OWhsZ3lsdVljckhjV2d1SVhlanVFZExNVmNpS3Z4OExQSWNLR0ZyQTlCOTl3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64259b2549e49', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64259b2549e49', 'paypal', 'buynow', 'rect', 'gold');
});
}