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/nhesh4lpzcd1/plugin/23/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "ASBasDXbOOeC8wSPFYp91vWYS2uHgl2ZXJJpUc6bHbsRIe7P1CPq-u-9Qb95j-UQRcmJCvDaMhJ-xFay");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTFmZWZkNGE2MTkwODAzYjdiYzVlNzYxYjAyNjk1ZTVhZDNiMjE0ZTBiZjI1Njg0MmMwNWQ3M2E2ZDQyODExOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMTFUMDQ6NTU6NTcuNzY1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB2UEx1cnBEb0ZDSW4tWEdicldfd2o0WW1ETFFJajd2RXpZQlRIOWgwUzdkRlBoVDRDSTFYbHYyMmVoemRMa2cwZjVTcnN6VWlGUVFIY3dIX2F5LWEtMmg2Q21RIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "ASBasDXbOOeC8wSPFYp91vWYS2uHgl2ZXJJpUc6bHbsRIe7P1CPq-u-9Qb95j-UQRcmJCvDaMhJ-xFay");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTFmZWZkNGE2MTkwODAzYjdiYzVlNzYxYjAyNjk1ZTVhZDNiMjE0ZTBiZjI1Njg0MmMwNWQ3M2E2ZDQyODExOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMTFUMDQ6NTU6NTcuNzY1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB2UEx1cnBEb0ZDSW4tWEdicldfd2o0WW1ETFFJajd2RXpZQlRIOWgwUzdkRlBoVDRDSTFYbHYyMmVoemRMa2cwZjVTcnN6VWlGUVFIY3dIX2F5LWEtMmg2Q21RIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6708b13c3399a', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6708b13c3399a', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6708b13c3399a', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6708b13c3399a', 'paypal', 'buynow', 'rect', 'gold');
}