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/amh0mr16ph21/plugin/32/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AY6s-GsfIeou1M2Y8Fq0oApO2ean7biydY1ANNitn3uOsli5WD12E72hwCsfWKaeXnpPE1yOV6sTNGxl");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjAwZmFkMGE2NjUxMDg1MTQ1ZDM5YzlkMTIxYTIwNGQ2NzRkZTQ0NmI3NjljNWE3NmZmYTQ3ZjUyYTMxMjMwY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMzBUMTk6Mzg6MTQuODI0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5LNTltTHQzVjdvTFdEdDBsdE5QX0hVcm9qZHd6Vi1lcHowLVQ3M3VOQjhiU3lzcTVZMTBvV1g0SjhibXIzUktROTFtM3Y4Z21uYXZkb2JDdlg2dW9Vc1luNzFRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d828569cd9b', 'paylater', 'paypal', 'pill', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d828569cd9b', 'paylater', 'paypal', 'pill', 'white');
});
}