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/8ent9s2yxqb4/plugin/3/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AedFdIM6jUIjbT1Td0LBh0G4eDJbE4n5y-1k10i3V6_Nhui-7dMWybL3-ON6siza92iOiqp3vsa2IK8H");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzZiZGI2MjY3OTVjMGQxMDFkOTc0MTRlMGI5MDE0Yjk0OWY5ZjI0OTY4MDU2OGUyODc1NzZiNjhiYTQ0ZDc1NHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDdUMDA6NDI6MDUuMjc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5FZ0NZOW55ZVpWTkpFc2cwbG1vUHg1MF9TTnRENlZ0Xzl6NzlyOEx3eF9ZUUo0V1liZmFZdFpGNGs2S1ZWd0lIaUUtR3Q2R1Vnb2x3MEtZZ05pM181WHpoVUR3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e1a4185bf1e', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e1a4185bf1e', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e1a4185bf1e', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e1a4185bf1e', 'paypal', 'buynow', 'rect', 'gold');
});
}