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/qddd911h1zyd/plugin/27/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdRsnASrch6x0deabWprHds9mQj-LMDUL6mps_HbGmHALKwC5YzPfBbv-ifo3amDCaK3-oPm7JJ1ZPBH");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGVmMjg4ZDFjOTljY2FmYmZkYmQ1YzM1ODYwZjhhNTljZGVjOTliZmE3YjYxNDhmN2EyNTVmMmE0OGU1Zjc3NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjhUMDI6NDg6NTQuNjI5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBfWjJwcWd0OXQ1Y2VubUFORk1WbG9Gak5pdFIwOFRhbUcxU1Y0LVNvcFMwaG1uMmJQRmZ5dWJIeFdPaFR3N3ZzblRJaFpnNGhZSzFGX3dzLUJpWHBsR1N6OWhnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d492782235f', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d492782235f', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d492782235f', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d492782235f', 'paypal', 'buynow', 'rect', 'gold');
});
}