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/skfl22qklljd/plugin/27/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXuhwpxEzYMEeeoE-T5ZntVVJgmXC19Uk5YgMfhw7celm551Lg1JZeN78knW6A03-1l2cfA5z2_8KuAl");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODFhOTIyYTljYmFlMDIxYWU0MDY0YmVhMjI0NGZjYzRmZDNkMGY0M2ZkMGI5YmQzZjFiODZkMGJiZTgwODU1YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDgtMDhUMDU6MDE6MjcuOTM0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4tUnpUQWlYVzJzNE1Jd1NtNl9WcFVjNm4wZ0s2Zjk2TE04NWJVTmhfSXljcDA4eWxoUlpGR1pHMzBwX3BHU2p0Wkh3bGRQY3lDRHlhRXJKX0QyX1IwemlYQlhRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f098a794931', 'card', 'buynow', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f098a794931', 'card', 'buynow', 'rect', 'white');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f098a794931', 'paylater', 'paypal', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f098a794931', 'paylater', 'paypal', 'rect', 'white');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('62f098a794931', 'paypal', 'buynow', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('62f098a794931', 'paypal', 'buynow', 'rect', 'white');
});
}