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/ap0wdwu07o0m/plugin/11/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZFXY3Q8Esh6kW9N2StyLgEjzs-KVAPaKPBmKTy-NA7GhHjwVhxzEwk5lIDYgPaYidSUthIt4MeLaQ9B");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTFkYTQ3NTgxNDgyNjJiODEzYWQ1NTkwYmJiM2E2YjEzMTk4Nzk0MWEyYjA0YzcxNWJkYzdhZTYxMzFiYzdjNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMTlUMTI6NTU6MjUuNzk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5vT3pqWGhvTk5tTnhSRnMzT2c0M3QxNlZPWWhVSHVWQWlHV1pTVzBYUThUU2sxUjk4elcxSFcxWVFydjFZenNZeENnbEJCTmRQWHVtMFVvLTVvT1o0WVNBRE53In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AZFXY3Q8Esh6kW9N2StyLgEjzs-KVAPaKPBmKTy-NA7GhHjwVhxzEwk5lIDYgPaYidSUthIt4MeLaQ9B");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTFkYTQ3NTgxNDgyNjJiODEzYWQ1NTkwYmJiM2E2YjEzMTk4Nzk0MWEyYjA0YzcxNWJkYzdhZTYxMzFiYzdjNnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMTlUMTI6NTU6MjUuNzk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5vT3pqWGhvTk5tTnhSRnMzT2c0M3QxNlZPWWhVSHVWQWlHV1pTVzBYUThUU2sxUjk4elcxSFcxWVFydjFZenNZeENnbEJCTmRQWHVtMFVvLTVvT1o0WVNBRE53In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65f998de5343a', 'paylater', 'paypal', 'rect', 'white');
});
} else {
renderPayPalButtons('65f998de5343a', 'paylater', 'paypal', 'rect', 'white');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('65f998de5343a', 'paypal', 'pay', 'rect', 'white');
});
} else {
renderPayPalButtons('65f998de5343a', 'paypal', 'pay', 'rect', 'white');
}