if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/am75i4z1sc8c/plugin/4/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AW2BwbOSucbgKvBCQqJkXCrclfqQj_InOBbAQ98AmCf6sWdsA4hZEKp7ZEAX7QTi2zEsSeZ7d0RFk1dT");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmMzNjc5NTJiNDI0OWEwYzUyYmMwYWRhYTU5YzRkNjcxODVjNWVhMjFiYjQxOTQxNTc2M2Q3NDQyZDFlMjMyNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMjZUMDU6NTI6MjYuOTkyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5CaVdCc3F1ODRlVWsyQ25qNGdqaHRzTlpfdFNCSVIwSWxTWFAxQjlNQ2Jxa2l5VjQxUlo3Z3dyaFFKQnFhRy1IVGZmeml4YW05eVl4Ukk5NzdrNloxNFZIRDhBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AW2BwbOSucbgKvBCQqJkXCrclfqQj_InOBbAQ98AmCf6sWdsA4hZEKp7ZEAX7QTi2zEsSeZ7d0RFk1dT");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmMzNjc5NTJiNDI0OWEwYzUyYmMwYWRhYTU5YzRkNjcxODVjNWVhMjFiYjQxOTQxNTc2M2Q3NDQyZDFlMjMyNXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMjZUMDU6NTI6MjYuOTkyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5CaVdCc3F1ODRlVWsyQ25qNGdqaHRzTlpfdFNCSVIwSWxTWFAxQjlNQ2Jxa2l5VjQxUlo3Z3dyaFFKQnFhRy1IVGZmeml4YW05eVl4Ukk5NzdrNloxNFZIRDhBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6562e0b0df582', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6562e0b0df582', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6562e0b0df582', 'paypal', 'checkout', 'rect', 'gold');
});
} else {
renderPayPalButtons('6562e0b0df582', 'paypal', 'checkout', 'rect', 'gold');
}