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/51qt7ldaagpe/plugin/9/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWQyMzNlNjdhZWYwZTRhY2RhNmRmNDczYzEwMzQ1OTU1YTk0MDA4MThhNzljZTk1N2UxYThjYTg0ZjQ0NDZjYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMDhUMTY6MTY6NTAuMzUwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1xaG1abG9MNnRrMEI3SHNwT19uNTcxbU9GM05IRndrTGFQeGNFdXg4VVJRRS1oY0l2ZU12dTZ2UUwzdVVGdjVGdkhxLW5tOVphZjFaS1dzUlAyV3ItNTRzNkZnIn19");
script.setAttribute("data-user-id-token", "eyJraWQiOiJiODYwOWZkYTdlOTY0YzllYWY5Y2EwNTRmYWNkNTU1OCIsInR5cCI6IkpXVCIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwczovL2FwaS5wYXlwYWwuY29tIiwic3ViIjoiUTVCVFdaWlFIWUhVVSIsImFjciI6WyJjbGllbnQiXSwic2NvcGUiOlsiQnJhaW50cmVlOlZhdWx0Il0sIm9wdGlvbnMiOnt9LCJheiI6ImRjZzE0LnNsYyIsImV4dGVybmFsX2lkIjpbIlBheVBhbDpRNUJUV1paUUhZSFVVIiwiQnJhaW50cmVlOnpia2p3dmhyNGtkOW53amMiXSwiZXhwIjoxNzIzMTM2NTU0LCJpYXQiOjE3MjMxMzU2NTQsImp0aSI6IlUyQUFNektmTEhwZ0s4Y0s1Q0dsOWVJQXhBenNfU3Y0SXgwejlDc3pTMlY0YThXQWI1TURrN19OQ0xSREJqdjNHalFLanNpSUhBVVFBU1pRbVQtekVBZFM1SGEwb2Zjajd5S2F0aWhkaUdHeWpnQTcyc0F3ZHpHQmZqeXRrVFR3In0.7-sRrfc6lI9oEhsrIwwZUBFlxjY0zk-Rrg0S-ulKIoqEwJhavUVBiyC3R3lbw8SFkSZldffFCNUfh_T2MaQ0WQ");
script.setAttribute("data-merchant-id", "E5EDVQ7DKDNLQ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
script.setAttribute("sandbox", "");
script.setAttribute("googlePayComponent", 0);
script.setAttribute("applePayComponent", 0);
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.src = "https://cdn02.plentymarkets.com/51qt7ldaagpe/plugin/9/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMWQyMzNlNjdhZWYwZTRhY2RhNmRmNDczYzEwMzQ1OTU1YTk0MDA4MThhNzljZTk1N2UxYThjYTg0ZjQ0NDZjYnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMDhUMTY6MTY6NTAuMzUwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1xaG1abG9MNnRrMEI3SHNwT19uNTcxbU9GM05IRndrTGFQeGNFdXg4VVJRRS1oY0l2ZU12dTZ2UUwzdVVGdjVGdkhxLW5tOVphZjFaS1dzUlAyV3ItNTRzNkZnIn19");
script.setAttribute("data-user-id-token", "eyJraWQiOiJiODYwOWZkYTdlOTY0YzllYWY5Y2EwNTRmYWNkNTU1OCIsInR5cCI6IkpXVCIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwczovL2FwaS5wYXlwYWwuY29tIiwic3ViIjoiUTVCVFdaWlFIWUhVVSIsImFjciI6WyJjbGllbnQiXSwic2NvcGUiOlsiQnJhaW50cmVlOlZhdWx0Il0sIm9wdGlvbnMiOnt9LCJheiI6ImRjZzE0LnNsYyIsImV4dGVybmFsX2lkIjpbIlBheVBhbDpRNUJUV1paUUhZSFVVIiwiQnJhaW50cmVlOnpia2p3dmhyNGtkOW53amMiXSwiZXhwIjoxNzIzMTM2NTU0LCJpYXQiOjE3MjMxMzU2NTQsImp0aSI6IlUyQUFNektmTEhwZ0s4Y0s1Q0dsOWVJQXhBenNfU3Y0SXgwejlDc3pTMlY0YThXQWI1TURrN19OQ0xSREJqdjNHalFLanNpSUhBVVFBU1pRbVQtekVBZFM1SGEwb2Zjajd5S2F0aWhkaUdHeWpnQTcyc0F3ZHpHQmZqeXRrVFR3In0.7-sRrfc6lI9oEhsrIwwZUBFlxjY0zk-Rrg0S-ulKIoqEwJhavUVBiyC3R3lbw8SFkSZldffFCNUfh_T2MaQ0WQ");
script.setAttribute("data-merchant-id", "E5EDVQ7DKDNLQ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
script.setAttribute("sandbox", "");
script.setAttribute("googlePayComponent", 0);
script.setAttribute("applePayComponent", 0);
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66b4f6a6375c3', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66b4f6a6375c3', 'paypal', 'buynow', 'rect', 'gold');
}