if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/2eer20ly5e5k/plugin/29/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Afwxj59KG1Uy0lo4yLB-5YaCyxjAsatsHJepTczYaAJPh-6ql4B2if39aDTrbVD5spCg-a-7-h8sJWEM");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiM2FmM2ZjZWY1ODI1NWE3Yjg3ZjM5OGNjNjlhNzEzZjcyODExODZlN2M4MGZiMDI5MGE0MDJmODc2YmMxMzQ2M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMTlUMDE6NTk6MjMuNDQ4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU81M3psYmx2elNfRXJER1hSYWdoNXVrNUsycEFyb2ZtMkRmQmpGb2tUVjhLNXdlTWhhLTlWdms0am5XTHB4MjhGNm0xbDhtMGRvVWE2eU03a2pfYVdubl9GQldnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6621da5da6427', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6621da5da6427', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6621da5da6427', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6621da5da6427', 'paypal', 'buynow', 'rect', 'gold');
});
}