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