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