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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjhkMmIzZjA3ZWEyODIzMWY4MjhjYmFkZjJlYTc5OTFmYTY4ZWE5NzVhN2MzNmJhNTQzMTA1Nzg4ZTJjMGU3ZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMjlUMDk6MjY6MjMuODA2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5DVGEwaGk5UU1QOVIzVGRxZ2tIRzI5dW9LVlVkUWRVUWc1ODlpUjcyYUw3NkwzNDZKVHFhb292SXVjUmdLVXROZ05XNTkzMi1GUzFISjkzN0NCUW5MbzF1NVJ3In19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYjhkMmIzZjA3ZWEyODIzMWY4MjhjYmFkZjJlYTc5OTFmYTY4ZWE5NzVhN2MzNmJhNTQzMTA1Nzg4ZTJjMGU3ZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMjlUMDk6MjY6MjMuODA2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5DVGEwaGk5UU1QOVIzVGRxZ2tIRzI5dW9LVlVkUWRVUWc1ODlpUjcyYUw3NkwzNDZKVHFhb292SXVjUmdLVXROZ05XNTkzMi1GUzFISjkzN0NCUW5MbzF1NVJ3In19");
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('66d03ee1f3789', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66d03ee1f3789', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66d03ee1f3789', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66d03ee1f3789', 'paypal', 'buynow', 'rect', 'gold');
}