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/cjzy99lu9zd1/plugin/40/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AWDVnnHUb6B5ACJ6nzhNV9HBd_b_rzOYV-1RmrSwLHwNugB6JoAoog_JUKa5v4iCBJXXSi9kXavwQpEL");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjY2YjQ1NGIzYzM1ZGZhNmEwMjA3MjUxYTQ0NWM1Mzk4MzJjODBjODBlMjIyM2YwZjMzZjA4M2Y4Y2Y3ODE1ZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMTEtMjlUMTc6NTA6MTQuODM2NDY4NTM3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA4X19TMGp3bnA0cnFDSTViNEVmV2dVX3hBMkFsLURsel96dUJrZXBtSlJGUGFYcU56ejB3QzQyZm92UVBlR0lGbmdzX1pOWWd2UVY5cjIwWnRWVU45X1VkQlZ3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('692b3a59ee379', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('692b3a59ee379', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('692b3a59ee379', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('692b3a59ee379', 'paypal', 'buynow', 'rect', 'gold');
});
}