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/i1gbt867zq2p/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AeTIEpJ6UUhEcaKc4aGweZLdMjTzg9hkMQ-6iZQ3SsI4y-w4HfPkNAeRRvetUROJLqIIDPdCDIXb1xUJ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzgyNjY5NDFmMmI2YTNlM2JhYWVhOTY4M2IzMDcyZGY0Y2Q5OGFlZTM1MDJhY2U5MGUyMjBhNTM3MGI2N2Y0NHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDQtMDFUMDE6NDU6NTYuNjA1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1yQkY1OW9HMHVxQmNqMGVuN0hPQ01vU1U2RndkS21hQkNMbDNkYV8zY0xycHBWY196UzhPUHhGOWI2Z0FiZ2stNFc0ZFE4SlJyZ3p1MGtJNDhmOVNyS05tTzlBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('642794c695ead', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('642794c695ead', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('642794c695ead', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('642794c695ead', 'paypal', 'buynow', 'rect', 'gold');
});
}