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/5bljt22wusd2/plugin/83/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AQskFfw2hoc32dEw1UZMH2XAF1lmq5u1w1JJmTWUA26_aNUvMLaBdMz4eV17BSMEQbvjJB72d9BB7_fv");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWI3ZTNmNWZkOGVlMmNkMDUwYjQyNGMwMTIxYzI3YTRjZDk0OWUzYTEzYjkzMTJlZDA4MGFlNzRiNjU3Nzc5YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDYtMDFUMjE6MTk6MzEuMjYzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1BOHFYS3ZsVTlmTjJUTnNZTjMzOW5fOFk2ei1sYlN2cjdfYVBSWFNHV21FYVB3S1U5YzF1a0lNZjVpbnZ4anUtR1Z3UXZJcEMyY21Kb05BRlN4c0xfd3E2YVNRIn19");
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", "AQskFfw2hoc32dEw1UZMH2XAF1lmq5u1w1JJmTWUA26_aNUvMLaBdMz4eV17BSMEQbvjJB72d9BB7_fv");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiOWI3ZTNmNWZkOGVlMmNkMDUwYjQyNGMwMTIxYzI3YTRjZDk0OWUzYTEzYjkzMTJlZDA4MGFlNzRiNjU3Nzc5YXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDYtMDFUMjE6MTk6MzEuMjYzWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1BOHFYS3ZsVTlmTjJUTnNZTjMzOW5fOFk2ei1sYlN2cjdfYVBSWFNHV21FYVB3S1U5YzF1a0lNZjVpbnZ4anUtR1Z3UXZJcEMyY21Kb05BRlN4c0xfd3E2YVNRIn19");
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('665b9449cddf8', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('665b9449cddf8', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('665b9449cddf8', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('665b9449cddf8', 'paypal', 'buynow', 'rect', 'gold');
}