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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzg2MmFhZDViYWQ5M2QzN2E3N2YyNWI2MzE5M2VhOTVhZGEyM2FlZjBlZTgzZjFjZjA3MzZhYjJjN2M2ZjU5M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDRUMjE6NTU6MjEuNzM1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4zb2JvQmxNMUZGc2U5R1lIT0FSRHdvRFlYTlcwUXRfY0xwVExlUmRaNUdLeHR4NzRYbkw4bHhjeXhCU2I0b3cwSms5N3lGOWQ4VGE2RE9UaXllZzZBaEtOS3hBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63ded5f9cf93c', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63ded5f9cf93c', 'paypal', 'buynow', 'rect', 'gold');
});
}