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/9wkteo38ucsa/plugin/1/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Adi3EFreOKzHsoGzDL2bVEFiC1UxOChgFFtpDH0xxjXBrOroodyesyyX52b3vlBsMNCrXB3effjPavSl");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTJhMDRhMDc1NzA4ODRmZDc3NGU5YTc0Mzk0OTEyMjM1YzI0NmZlYTcyNTEzOTc2ZTY5YzhjZTI1OTMxODAwNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMzBUMTI6MjM6NTguNTA5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9qc1paMmd5VE1BNy1Pd0pmeU1QTmFfenBQQi16SWdxQ3o1Wi1DNElpb0NkdWw2V1dzbnJaWGx1cHhsVTdMMjRJSUVwTGhyR2ZGS0dXcWhFQzFBanlINS1WYVdnIn19");
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", "Adi3EFreOKzHsoGzDL2bVEFiC1UxOChgFFtpDH0xxjXBrOroodyesyyX52b3vlBsMNCrXB3effjPavSl");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTJhMDRhMDc1NzA4ODRmZDc3NGU5YTc0Mzk0OTEyMjM1YzI0NmZlYTcyNTEzOTc2ZTY5YzhjZTI1OTMxODAwNHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMzBUMTI6MjM6NTguNTA5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9qc1paMmd5VE1BNy1Pd0pmeU1QTmFfenBQQi16SWdxQ3o1Wi1DNElpb0NkdWw2V1dzbnJaWGx1cHhsVTdMMjRJSUVwTGhyR2ZGS0dXcWhFQzFBanlINS1WYVdnIn19");
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('656884dc8ced6', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('656884dc8ced6', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('656884dc8ced6', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('656884dc8ced6', 'paypal', 'buynow', 'rect', 'gold');
}