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/c76gn8a1nz7n/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "Ad-YKCrj7c89AjT7C4zhMrau7nTG1mIk7k2FdPk0aS4Fn1p77rdx1G2SiIKCeEQqnU8zJb8fZkMXJDrf");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYWE1NWY5ZTQ3N2YzMGViODU3YzAyYjllZTZmZjBhZTQ4ODJhNjgxOTI4YTAxMWI1NDY3NTJmYjRhZjk2ZDZhZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDVUMDU6MjA6MzYuOTE4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9kZXZabW5mRG96VEdZU0t6bGhDcDcyMW16WlQzN2dSWWFzNUUzVVJLRVVPS2poZnliMUhNNUxUaEhNSGE4SHc2S09sTHI0TXlrbU5rV3V2S1liX0lKTXNYTm13In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63df3d649083c', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63df3d649083c', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63df3d649083c', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63df3d649083c', 'paypal', 'buynow', 'rect', 'gold');
});
}