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