if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn02.plentymarkets.com/va111pypex47/plugin/40/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AeFvNKFP0zZNpTD7g6b-8_mgRlBWftpmccF6k7EsA-jfxtlGIU3gfMKZ0VNaToEQwjD9jtS6Qkmo_34M");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjZjYTA3NGEzYTliNjJiMjgxMDI3ODAzMjVhZDc3NDcyNGU2OWMzYWFiOGU1NzFhOWE5NzU5ODI5YWYzOGUzOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDktMjdUMDg6MDY6MDEuODUwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU90WTlraXMyb3JWMkxrSjdmQVp0T2VzaTBqc3pONk41bjZLc0RSTFNVUTEyZ3kzbEQyOExEb0k5NXdodS1RdzBLaC10dHJTN1hmb0U5emxwX2pydkhpZGl3TDFBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6513e26976c62', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6513e26976c62', 'paypal', 'buynow', 'rect', 'gold');
});
}