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/6eicsunvxeja/plugin/8/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AcfOoIckGTg_b0ZJfyQxwiiykOSnqvqq-JJhWDUhIioJ8qL3RKtm9W0H3VrTBu9Kv9DwSAF79PKYdnVe");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzI2OWIzODRkOTBiM2VmZTBjZmYxZGFlNmMyOTAyMTViOGY0NmE4ZDIxMTVlYzFmYmMyNjA2MjcwZWYzOGNjN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDZUMDY6NDY6NTQuMzY4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA5bnY1cW5Pd3F0Q3Z2Z2pBdl9ZcWRDM0hZMjRYaWR2b2ptSGlmbDhIU2w5V21GV3RDSnVyU0Q4dWpucFZ4b29UTUFIN0hvXzJZOWQzaHFqdThfdzJSbUNlR1VRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e0a25ddf8c2', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e0a25ddf8c2', 'paypal', 'buynow', 'rect', 'gold');
});
}