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/llqs9o7bcs7z/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AUH4vs7aZ3pYsqAsJ-l7TmxAt8jvckagy3G9AetqPfMjlrcU0MpAw500chTVPEcp47kcQNDz_BTM-PHI");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjZkNjA0OTRmMDU0MzA0ODc2NjUzZmM3YjIxMzg0NjA0M2Y5ZDYzZGY5MGNmMGFhODc2ZDYwOTZkNzIxN2M1YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjhUMDI6NTE6NTUuNDY2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU00RFZZTHNMdUoxSFBLd0VTZjY0UXZpM1hpRmlnS0NLVElNQ0NkMnFqMkd0UFQtMGZPbGlkUWRiQnRYdnNWYlN4d29sWGhLZEJ6WHBPTUNzSlFGemY4YnJGZm9nIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d48dcbab47a', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d48dcbab47a', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d48dcbab47a', 'paypal', 'pay', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d48dcbab47a', 'paypal', 'pay', 'rect', 'gold');
});
}