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/3v3zu571blbu/plugin/25/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AW_8eb8V4d1n4VAsd4fSYA46yPspDW_eV7j7RfoaaUk6s4Tr-0Z6Dt86-vLNrcTWCUyYXQ2g3lULGsHa");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTFhYjg4Njc0ODU0NDViNWZlN2E5NTllMmU5ODM0YzgxYjliNWQyODkwMWVlY2Y3ZDgwYWQyMTk5NWY5NWExYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMjVUMTU6MDM6MTUuNDA3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9YLWY4aHYwMjZqMXI1bWF6LTJkWGNrd1hHY2JvQV9HWklKcy1DLVlTU1NHRGp1VHVHWW53VHg0cnp6bnduUDRXbUtKSzdvZFEyVjA3dks2RkVVUjFRRThQbzNRIn19");
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", "AW_8eb8V4d1n4VAsd4fSYA46yPspDW_eV7j7RfoaaUk6s4Tr-0Z6Dt86-vLNrcTWCUyYXQ2g3lULGsHa");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZTFhYjg4Njc0ODU0NDViNWZlN2E5NTllMmU5ODM0YzgxYjliNWQyODkwMWVlY2Y3ZDgwYWQyMTk5NWY5NWExYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMjVUMTU6MDM6MTUuNDA3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9YLWY4aHYwMjZqMXI1bWF6LTJkWGNrd1hHY2JvQV9HWklKcy1DLVlTU1NHRGp1VHVHWW53VHg0cnp6bnduUDRXbUtKSzdvZFEyVjA3dks2RkVVUjFRRThQbzNRIn19");
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('6744944caa5d0', 'paylater', 'paypal', 'pill', 'blue');
});
} else {
renderPayPalButtons('6744944caa5d0', 'paylater', 'paypal', 'pill', 'blue');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6744944caa5d0', 'paypal', 'checkout', 'pill', 'blue');
});
} else {
renderPayPalButtons('6744944caa5d0', 'paypal', 'checkout', 'pill', 'blue');
}