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/9uxa0vgykbat/plugin/19/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AVlhWi4ar3fv0keVD1VBlzJfhNnD1GvV7wWr2iYn7SvtNU90LXSI9VUzuXtxL-EYbxEIvHnVayg2OB2W");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjlhNWMwNWE4ZjVhMzY4NWI1ZDdlNGQ2MDNmNTg5MWU3NjY1YWE3ZDlhNWYwODNkYzFiOTc1NzM0M2FkMjMxYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMThUMTY6MTI6MDYuMzk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBUeHhnc3F1U0c3TkhmUGFGdzlwY0NpZTZibGh3T3BCSTBvODY0ZlJSRnIwVFBBaGltaU1PYnlfVTY4TVBBSUl2c05fV3lLaW01Ym9mT0ppV2VvSU5HMnJoTG5nIn19");
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", "AVlhWi4ar3fv0keVD1VBlzJfhNnD1GvV7wWr2iYn7SvtNU90LXSI9VUzuXtxL-EYbxEIvHnVayg2OB2W");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjlhNWMwNWE4ZjVhMzY4NWI1ZDdlNGQ2MDNmNTg5MWU3NjY1YWE3ZDlhNWYwODNkYzFiOTc1NzM0M2FkMjMxYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMThUMTY6MTI6MDYuMzk1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBUeHhnc3F1U0c3TkhmUGFGdzlwY0NpZTZibGh3T3BCSTBvODY0ZlJSRnIwVFBBaGltaU1PYnlfVTY4TVBBSUl2c05fV3lLaW01Ym9mT0ppV2VvSU5HMnJoTG5nIn19");
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('6648de67e176c', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6648de67e176c', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6648de67e176c', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6648de67e176c', 'paypal', 'buynow', 'rect', 'gold');
}