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/baq8d80g246h/plugin/1/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Aclz7UwofqTVJBPDZkYjz5v0PZ7pgtEjBjXDVmD5auoUzBCQN-B64aR02iLP9dP8Xsgiw9dy3HM71wKU");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTY3YTI5ZTg1OGUyZWRjY2RmOWIwY2RiOTZhNzhhMWZjNTBlMDQ4MjlhZjIzZjU0MDRlMzAyNzhiNjUwZjNkZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMDJUMTE6MDU6MzMuNTQ5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBZTlVwaWlsQm9hRm9UOXZ0TVRYMUVEN1I3QkpMLTBsdWpSU1RjTHl3ZlJwWGlHTWxQeWJ4QklpQ2prZTBmNlNLM1pnc0N5UVpZTG9jb2lNUm5kZV9GT3lkVEJRIn19");
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", "Aclz7UwofqTVJBPDZkYjz5v0PZ7pgtEjBjXDVmD5auoUzBCQN-B64aR02iLP9dP8Xsgiw9dy3HM71wKU");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYTY3YTI5ZTg1OGUyZWRjY2RmOWIwY2RiOTZhNzhhMWZjNTBlMDQ4MjlhZjIzZjU0MDRlMzAyNzhiNjUwZjNkZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTItMDJUMTE6MDU6MzMuNTQ5WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBZTlVwaWlsQm9hRm9UOXZ0TVRYMUVEN1I3QkpMLTBsdWpSU1RjTHl3ZlJwWGlHTWxQeWJ4QklpQ2prZTBmNlNLM1pnc0N5UVpZTG9jb2lNUm5kZV9GT3lkVEJRIn19");
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('656b14b5d615e', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('656b14b5d615e', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('656b14b5d615e', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('656b14b5d615e', 'paypal', 'buynow', 'rect', 'gold');
}