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/dfo16woutjhq/plugin/14/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDk1MmRiMTRmNGI0OGE2MzYxNTNiYWUwZWE1NTljMGE3OGYxNDkyYmZjMjg1ZGRiZmE3OWI4MmJkNDA3YWMwOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMjZUMTI6MTQ6MjYuMjA1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBoS211ZWozZzBlMmlzaGhqdVN3TXR3ZjNGNnk1T2tLbFBwU3NOMC1nMW9qVkZINWN2VHduVDRncVJmNmlfNXRIeWZVaFNlbjAxT0ZtOUx2dUtQa0JZTFplei1nIn19");
script.setAttribute("data-user-id-token", "eyJraWQiOiJiODYwOWZkYTdlOTY0YzllYWY5Y2EwNTRmYWNkNTU1OCIsInR5cCI6IkpXVCIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwczovL2FwaS5wYXlwYWwuY29tIiwic3ViIjoiUTVCVFdaWlFIWUhVVSIsImFjciI6WyJjbGllbnQiXSwic2NvcGUiOlsiQnJhaW50cmVlOlZhdWx0Il0sIm9wdGlvbnMiOnt9LCJheiI6ImRjZzAxLnBoeCIsImV4dGVybmFsX2lkIjpbIlBheVBhbDpRNUJUV1paUUhZSFVVIiwiQnJhaW50cmVlOnpia2p3dmhyNGtkOW53amMiXSwiZXhwIjoxNzIxOTk5Njc2LCJpYXQiOjE3MjE5OTg3NzYsImp0aSI6IlUyQUFOcUM3bktnU3BiZlFveVZyN1lpRi0zWWpmRXFrTG5aRjFhbXZ2NzdFRW9TR2p5NDNHWXJCWE1aNzN0eG4wOVM5dm11WkNpNlpyRnVTcDEyeHNYaEs5alotQzYzTnZZZGlHM0h6dUVQeW1BbVN1ZExTTlB4NFVoQ0g3UzlnIn0.D82t8_sF5ue1BYOZE_et82xwX6uek5PWJKvXRVIdBJ9pcZ59g7RphUUMkOPO1xUfsByBn8iBgQ9MyLwN1MZDGQ");
script.setAttribute("data-merchant-id", "BYZT44RXV9TBY");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
script.setAttribute("sandbox", "");
script.setAttribute("googlePayComponent", 1);
script.setAttribute("applePayComponent", 1);
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.src = "https://cdn02.plentymarkets.com/dfo16woutjhq/plugin/14/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDk1MmRiMTRmNGI0OGE2MzYxNTNiYWUwZWE1NTljMGE3OGYxNDkyYmZjMjg1ZGRiZmE3OWI4MmJkNDA3YWMwOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMjZUMTI6MTQ6MjYuMjA1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBoS211ZWozZzBlMmlzaGhqdVN3TXR3ZjNGNnk1T2tLbFBwU3NOMC1nMW9qVkZINWN2VHduVDRncVJmNmlfNXRIeWZVaFNlbjAxT0ZtOUx2dUtQa0JZTFplei1nIn19");
script.setAttribute("data-user-id-token", "eyJraWQiOiJiODYwOWZkYTdlOTY0YzllYWY5Y2EwNTRmYWNkNTU1OCIsInR5cCI6IkpXVCIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwczovL2FwaS5wYXlwYWwuY29tIiwic3ViIjoiUTVCVFdaWlFIWUhVVSIsImFjciI6WyJjbGllbnQiXSwic2NvcGUiOlsiQnJhaW50cmVlOlZhdWx0Il0sIm9wdGlvbnMiOnt9LCJheiI6ImRjZzAxLnBoeCIsImV4dGVybmFsX2lkIjpbIlBheVBhbDpRNUJUV1paUUhZSFVVIiwiQnJhaW50cmVlOnpia2p3dmhyNGtkOW53amMiXSwiZXhwIjoxNzIxOTk5Njc2LCJpYXQiOjE3MjE5OTg3NzYsImp0aSI6IlUyQUFOcUM3bktnU3BiZlFveVZyN1lpRi0zWWpmRXFrTG5aRjFhbXZ2NzdFRW9TR2p5NDNHWXJCWE1aNzN0eG4wOVM5dm11WkNpNlpyRnVTcDEyeHNYaEs5alotQzYzTnZZZGlHM0h6dUVQeW1BbVN1ZExTTlB4NFVoQ0g3UzlnIn0.D82t8_sF5ue1BYOZE_et82xwX6uek5PWJKvXRVIdBJ9pcZ59g7RphUUMkOPO1xUfsByBn8iBgQ9MyLwN1MZDGQ");
script.setAttribute("data-merchant-id", "BYZT44RXV9TBY");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
script.setAttribute("sandbox", "");
script.setAttribute("googlePayComponent", 1);
script.setAttribute("applePayComponent", 1);
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66a39db7ee702', 'paylater', 'paypal', 'pill', 'blue');
});
} else {
renderPayPalButtons('66a39db7ee702', 'paylater', 'paypal', 'pill', 'blue');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66a39db7ee702', 'paypal', 'checkout', 'pill', 'blue');
});
} else {
renderPayPalButtons('66a39db7ee702', 'paypal', 'checkout', 'pill', 'blue');
}