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/12z3frtncgcc/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Adtn6XM7WymSdzNDzvYGpwU2jDiIeL1Y-aF_kb88weyJ0omyl8coFI-8L4ZT4z0fbocCdOCv4uCJFt4J");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZWFmODA4NGIxNGYyMGI0NzY5MDFiNDQ4MDkwYWIzMjlmNDg0YmY2Njc4NzFhMjgwZjIzMDUzOGRmOTYyOWYxZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDFUMDU6MzA6MDIuNTc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5ZaUloYmdnN2czc1QxTXdqZ3lLSEdpNWtYanBIdEhaNVhyb2EwZXVRMWhEYlYtaXpzdzd2QmtKYU9QTDB4RHI1T1dhczJrQkhpQXhQQzRPUjhFeEJMaVcwLXNBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('65190a9c72757', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65190a9c72757', 'paypal', 'buynow', 'rect', 'gold');
});
}