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/5uerm8tyvphn/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdI_N1WbuC_maqsecv_gpzA5D8Oxx8NfWSWs__qceUkFshm__djbaDEx244W2NiPNJYmgBiOEvyC9Gy6");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjMwNDJlM2Q2NmFjZGI2ZDVjNDdjYmEyZmM0MTkwODYyNmQ5MzcxMjgxN2M2NWJkOTNlZGFmMmEyMDIzZWI3YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMTlUMTY6NTI6MzUuOTA4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5iMF80VGpaQkR2REFRU2lJZEFpWERZQklQYjQtbGlSTlFWQ005R0Zua3hjbnVlNVZNZmNPdjZ2ZWZmU21MR21VbmU2SlNUVTNkRnJTS2hNNmhMSUNqc2tVbHJnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62ffbfd38b352', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62ffbfd38b352', 'paylater', 'paypal', 'rect', 'gold');
});
}