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