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/k16ixzlxv4n7/plugin/3/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYU8RAysXlvAzxbVU-rAdKRkx7CFimrVgGUwc2X26M_daET1tCVkM_Sh2Y9Rq-FAt96S10lK7Vc39Sgi");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTU0ZTZlNzA1N2FlNmI3ODQyZDlhMDI4ZGM4OWJhOGIwYmQ2ODI4MjM3ZWY3OWExZTRmNzU0MDNlODJiYTRiMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjVUMDM6MzA6MTEuODQzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1fYUsta29kS002T3pPd3I5a3pxTzJlLXdLWFE1Q2hTWEs2cjc5WG9JLWtEUHlFdTl0WnF0S0szVHo5aXc5b3B5U0dKaUlXeXpaeFRyd2hGaDB5OUM4TVJQQ2VBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('641e6ac4219a8', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('641e6ac4219a8', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('641e6ac4219a8', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('641e6ac4219a8', 'paypal', 'buynow', 'rect', 'gold');
});
}