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://cdn03.plentymarkets.com/1ob0zf0y6r09/plugin/66/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AfTjL8ZXRzlQJ0ucXRuZdDF2F19pIuoBoYbLU5soQGgM8dchASARCCvAYaslVV1csWLPhGFtRxNB-_Xc");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDkyNDdjYWJiNGE0ODIzZmZlYjY3OGNjZDc5YjAxYmZmOTg5NGQ5NDY3YzA4OGVjM2M5ODdlM2IxNzdlMjhkZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjBUMTE6MTk6MzUuOTQ3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1pV09MUmx4cnFXM3g0d2xRWEZKZG9Ha3Q2VVdwQW5YM3RtTE5haFNTcHl1c2tnQmF4aFFQUVIteFZNRVllakEzUkRvS2kySUZ5TjhvdUpKeVFldFhPOU1EWWxnIn19");
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", "AfTjL8ZXRzlQJ0ucXRuZdDF2F19pIuoBoYbLU5soQGgM8dchASARCCvAYaslVV1csWLPhGFtRxNB-_Xc");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDkyNDdjYWJiNGE0ODIzZmZlYjY3OGNjZDc5YjAxYmZmOTg5NGQ5NDY3YzA4OGVjM2M5ODdlM2IxNzdlMjhkZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjBUMTE6MTk6MzUuOTQ3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1pV09MUmx4cnFXM3g0d2xRWEZKZG9Ha3Q2VVdwQW5YM3RtTE5haFNTcHl1c2tnQmF4aFFQUVIteFZNRVllakEzUkRvS2kySUZ5TjhvdUpKeVFldFhPOU1EWWxnIn19");
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('6623aba88fb3d', 'card', 'buynow', 'rect', 'white');
});
} else {
renderPayPalButtons('6623aba88fb3d', 'card', 'buynow', 'rect', 'white');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6623aba88fb3d', 'paylater', 'paypal', 'pill', 'white');
});
} else {
renderPayPalButtons('6623aba88fb3d', 'paylater', 'paypal', 'pill', 'white');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6623aba88fb3d', 'paypal', 'buynow', 'pill', 'white');
});
} else {
renderPayPalButtons('6623aba88fb3d', 'paypal', 'buynow', 'pill', 'white');
}