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/9kihkr6hzome/plugin/49/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "ATMyStZEKclh4Lv3QSnvur_ab4neDm7iBEThLxD4HyYUAbEqeJ3t4hOD9qPV0LG2BtyHU3aBsBYMDWYY");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYThhZGY5MDQyODYwOTg4NGNiYTY1M2I4MDliYmY4YTYxODMwMmUyNjg1ZTBmZWE1ZWQzYTNmZmQ0ZTQzZWU2N3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDNUMTk6NDE6MDAuMzY3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBHUGh4T2xaem95a1Q0LUdtOTVlc0RZc1gyZGxQSHlWV1BzbGU5N1JHeTZoRk04TEpfZDZyYkk2cDYzTTd1VVBrbUJTcmRON1p3SWxod0RvTi1GdDcyRlJQdlNBIn19");
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", "ATMyStZEKclh4Lv3QSnvur_ab4neDm7iBEThLxD4HyYUAbEqeJ3t4hOD9qPV0LG2BtyHU3aBsBYMDWYY");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYThhZGY5MDQyODYwOTg4NGNiYTY1M2I4MDliYmY4YTYxODMwMmUyNjg1ZTBmZWE1ZWQzYTNmZmQ0ZTQzZWU2N3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTAtMDNUMTk6NDE6MDAuMzY3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBHUGh4T2xaem95a1Q0LUdtOTVlc0RZc1gyZGxQSHlWV1BzbGU5N1JHeTZoRk04TEpfZDZyYkk2cDYzTTd1VVBrbUJTcmRON1p3SWxod0RvTi1GdDcyRlJQdlNBIn19");
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('651c74aa86eb5', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('651c74aa86eb5', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('651c74aa86eb5', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('651c74aa86eb5', 'paypal', 'buynow', 'rect', 'gold');
}