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/iubtu7qcuc0m/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AUgwhbSR0e3-pK28Ymg7595MfWuv5yG3MyYH6jM-Q0RWs7jVYEVvz1AkC8dMXClFTsfA_NInx7B7IXZm");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmEwZmQxOTVhZTE4YTI2MmQ3ZmRmNjk5OWQ5YjcwYmYxM2ViYWNhMjRkOTg0YjMwNTM2NDU3NzgxNDA3OWQ5MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDJUMTc6Mzg6MDAuNTM3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4yY2UxeGhqWnlPeGxzd3BOR0NhRU1YaHJSbDZMVWg3NDluSlgxYlJvTkp4ZWZHa3cxVkxrYjRiR3ZaMmw4b2dvWWJka2hZWGY5cDhmZHM3dWpKal9kcVplZ2xBIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dbf63626c75', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dbf63626c75', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dbf63626c75', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dbf63626c75', 'paypal', 'buynow', 'rect', 'gold');
});
}