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/shnuxd70ih03/plugin/37/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXNVf5cWtv3mlf6AXP0-_BXbpRBOaO-K_8Aj5DSFuWanIWKZ5dWRTWtmgnKD6eWOOVsYBM_w_C_niC3x");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNmIxZTdlNWFjMDhhZDBiYjk5MjIyMDYwYWE3NjJiZTk1MGZiNDdiN2IyZjY5ZjY2ZmVkZWQxM2IyNWRlOWM5MHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjlUMTg6Mjk6NTEuMzc1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU12SzFWcG9TRmhuSWcxdTB1cy1NQmJQZWFVZjJBeEhNbHZfbjJjZTRRSUc1R2N0bGl6dVR6LTRlYVh0OENXRFpEQ1d2S1M2NmRib2E4VUo0dzViZmZmUndxMml3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d6c27915128', 'card', 'buynow', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d6c27915128', 'card', 'buynow', 'rect', 'black');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d6c27915128', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d6c27915128', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d6c27915128', 'paypal', 'buynow', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d6c27915128', 'paypal', 'buynow', 'pill', 'gold');
});
}