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/8tradr7m1c08/plugin/4/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AfO-_uRDKjHtL0L9h44VC-zJMWurCFIs4ZQZO11e1B2tZt9HdmguvBS0RjTUECfVhVBo0InM_fSMaqPV");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOTQwNTRiMWNjYzA3YzM2ODNjMTA3MTRhOWZjNTQyNDAzZmZmYTgwZjE2NWYyM2IwN2E5MDEzYmI1YjE0ODNiY3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMzBUMTA6Mjk6MTMuNTQwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5FbjdRT3FPaDhtMEhVNHFXc1dDREpSZEE0ZmNfLVY5blNlVkFYUDlTMHE4VXRoMDJUSmtodUUwalFteHltUjdEN0dCdHZiNXIzaE1BQy04OEk1TWEtRkRuZkJnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d79bf919bb2', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d79bf919bb2', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d79bf919bb2', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d79bf919bb2', 'paypal', 'buynow', 'rect', 'gold');
});
}