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/r3pmentklgg2/plugin/87/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYKg1tEqGJHw1m6M869hRpzbgVlnIBb-V_iy7SwmxiPwuQU4jE-mUlshQ2OCMYz3wfkl7PTsWMtI-zT6");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTk2Y2ZiN2NhOTcyMWVkNDA3YTNjYzgzY2U2YTI5YTY5NDM5OWY0ODAwMTVhMjYwOTc3MDJmYWI4NjY0N2JlM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDRUMTA6MDY6NTEuOTY3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBUZHBPVG92dU1WMWdySVhOeHEyazZ5RHU2Yl91MkoyeFRGOEw5ZkVJQ2hodHEzaEg1Ym12RU1kaW9uRFNwRnRodURvZV95bW83bnBmaW8xZHl6cS1yWUdCSEpRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63de373960a0e', 'paylater', 'paypal', 'pill', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63de373960a0e', 'paylater', 'paypal', 'pill', 'blue');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63de373960a0e', 'paypal', 'pay', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63de373960a0e', 'paypal', 'pay', 'pill', 'gold');
});
}