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/thw61dp2dvyx/plugin/5/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXUgk2KDoduIM1s3KewcqIjiHXdg3HVUhrosGfQHsdtKHT9bx_WoPjVfhyPFDiitUUz-LCfG1bZpwuYT");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjFkNzIzOTRhOTBlZTYzNGNiODE2ODFhMzU3NWE2N2JhNDdkMzFhM2M1NTdlNTMzNWM2NDk1OGMxOWRmZDk0MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDFUMTg6MTY6NDkuNzAwOTAzNjUzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9YUzN3a2txV0RJV1dtZUZ2Q0p0M3V6U0d1YmJmbGt5eDVvYmxxM3lYRlc3cjVRbktTNU5yQlY0eFNZTkVISHFURUV0QjZVY1QxNGxGQ3EzbHlweVdOR3pxZ1h3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67ec36b5e0bd1', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67ec36b5e0bd1', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67ec36b5e0bd1', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67ec36b5e0bd1', 'paypal', 'buynow', 'rect', 'gold');
});
}