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/qlxmcsumdvz5/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AVEmE8TEdM3y6KAegbKR4CCeepA6RguTgXlzvqA-mTlNrD-PTf2G5j23INogwmEJssEIAR0586LfFNtC");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZGZiMzgwMDVhZjZiNzdjN2Q2YjBkNmUzMWI2MTZhMzIxNTFiOTk0NGYyYzgxZmU2MjljZTk5NjZhZDE2OGI5MXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjItMDUtMjVUMTY6MjQ6MzAuMDQyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA5NlJHY2xid2pWYWZud0ZLcnNncGhDREEyUnB1UUNiclFIQlA4bVMzNm5Nb1NVeGNjQlN4NlBOX0FLanNjUG45WHB2N1o4V1A0X2hDTlRaT2JPWXE1NDB1aXFBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628e583da1815', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628e583da1815', 'paypal', 'buynow', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('628e583da1815', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('628e583da1815', 'paylater', 'paypal', 'rect', 'gold');
});
}