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