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/w5u2kzpj7f3t/plugin/19/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AV46OE7RMX9cbZYkkVGiQnlVcghIRYPtazsA2JMqJAVgsqZ4M0NXsv3zTSK4byWepUhXa3ihlIrsTl8f");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTgxYmJkZTBiMjUyYTdlMzNkYzQ2Mjg3MmI0NjdiY2E1M2ViNWFlMWJjZmE3MGY5ZmE1MmJkNGVlYTAxZjkwZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDYtMjdUMTE6MzM6NTguNjQwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9SZm1uUHZGbTlDTzEyS0FVOVVrdlJxMzNZakF3bTRRM3FRd1psXzV6dl9YeGx5SkQ3S29mamxyYk5ad2J5RVRKMDFqT1hYamhCQWQtR3BZZUt4NndsMG5oTGJRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b995a62649d', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b995a62649d', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62b995a62649d', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62b995a62649d', 'paypal', 'buynow', 'rect', 'gold');
});
}