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