Kasse
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/65qij5h9vm8h/plugin/19/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Abr5l6pTLrJtQgiWaOQqrzmHky6OGMDaVMDB6tmxA7bXYnUcTFFwPGhmY-mKMAZ-9gApoqz2iRg2LNhB");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjQ2N2Y5NmYwNGI3YTgyN2VmM2QwZjg3Yzc0Njg1ODg4NThhYjU3YzUyNDU0ZmZhNDIwNjZiZWRmZDk0ZmM4YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMjdUMTA6MzA6NDguNjM1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBMUnBTcm5OcVdFc05GMEJqQ2NqMGNfYXRyZUg1eEJLMGhUSXRTRExJcXk2S0g3QUFhYjBIY2djX0p2YjNYLVRZMHljTnZiMVZSUVVzWjRpeUhITGVoUFltT29BIn19");
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", "Abr5l6pTLrJtQgiWaOQqrzmHky6OGMDaVMDB6tmxA7bXYnUcTFFwPGhmY-mKMAZ-9gApoqz2iRg2LNhB");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjQ2N2Y5NmYwNGI3YTgyN2VmM2QwZjg3Yzc0Njg1ODg4NThhYjU3YzUyNDU0ZmZhNDIwNjZiZWRmZDk0ZmM4YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDctMjdUMTA6MzA6NDguNjM1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBMUnBTcm5OcVdFc05GMEJqQ2NqMGNfYXRyZUg1eEJLMGhUSXRTRExJcXk2S0g3QUFhYjBIY2djX0p2YjNYLVRZMHljTnZiMVZSUVVzWjRpeUhITGVoUFltT29BIn19");
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('66a4d3d23f80f', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66a4d3d23f80f', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66a4d3d23f80f', 'paypal', 'checkout', 'rect', 'gold');
});
} else {
renderPayPalButtons('66a4d3d23f80f', 'paypal', 'checkout', 'rect', 'gold');
}