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/h48ph1zqy7tg/plugin/9/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AbFUvHcRSPn3k3vybSrGVn0h61dX7OIscbup1d0f3hcrjuTWBhLD3FrFEM-HZkF9BJsOqRg6qxNmoUiJ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmRiZDkzYjJlYTgyNTY5MmZkNWFmZmYwNDY4MjQzODMyM2I5MjU0MTIzNmFmZDI5ZGI5YTNjM2NhOTk3YzQzM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjdUMDA6MzI6MTIuODIxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9uYUZsZ2lsVWk2UVB3di14ME12RTl2NmVscU9jemtuR0tBTUlOc3lJM0gxRVhKZDN6WjE4dTd5TXlWblp2eWdhVGI5VFdUa2R2UXdlb3JEdE43MGtFeTQ1RkNnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6420edeb74867', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6420edeb74867', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('6420edeb74867', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6420edeb74867', 'paypal', 'buynow', 'rect', 'gold');
});
}