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/ev1aa1qvawae/plugin/75/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AeRP8hynTM3Ug1zPxE_LU7mWRres_XPqLo9SQZZ2rQCarnvmcNZyW930vvi6Y0qlD5Tm17XhK0YkhXrA");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODY4ZWQ0ZTUzYzFmNTc4MTAyZmJjMWQ5NTNiNjMzNjg3MjYwZGQwZThhODkwMWZjMTY1ZTY2OTg3NjZiMzhhNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDhUMDE6NTc6NTIuNjEzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5xM1F4LWhPcG9zWTdGQ1MwbnZlSTFid21hcmhlWmdSY0hSTGZnM1R2eFpWTjJ3QkZCQ2lJQVFDbmRNUDJIR0JWUDRqbHVELVZaOTRBVlpOeTc3QUhBamZCY0hRIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e3020d2d0e9', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e3020d2d0e9', 'paypal', 'buynow', 'rect', 'gold');
});
}