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/2mhbx6xtr0e0/plugin/26/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AdXaAiFpg3ZfKYZm0K372jg7zjsFdwaLp9a1s9OzoLCg4y9vcyPeMKp-oh_Gz5m6lFELsqivq0AEnSFn");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDRmM2UyOGE2ZmQ1OWNhNDU5YzNkZjE5MTVhNDBjYTU3MjViN2I1YzFiYTY1OWM2NTk5Zjc2MDkyNGE3NWI0YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjlUMDc6MjY6NDYuMjAxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU80QkphbWpZTlhObFpCWHQ5NjN5Y2QzSzh4N05Sa3U3dzBZYVVVT29IMG5qc0VvM3k3bGRzZlVaUHZVeGlQd0x1MUdBd0gtcjRnaEVDdmUxYWNBWGJId3hvaE1RIn19");
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", "AdXaAiFpg3ZfKYZm0K372jg7zjsFdwaLp9a1s9OzoLCg4y9vcyPeMKp-oh_Gz5m6lFELsqivq0AEnSFn");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNDRmM2UyOGE2ZmQ1OWNhNDU5YzNkZjE5MTVhNDBjYTU3MjViN2I1YzFiYTY1OWM2NTk5Zjc2MDkyNGE3NWI0YnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjlUMDc6MjY6NDYuMjAxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU80QkphbWpZTlhObFpCWHQ5NjN5Y2QzSzh4N05Sa3U3dzBZYVVVT29IMG5qc0VvM3k3bGRzZlVaUHZVeGlQd0x1MUdBd0gtcjRnaEVDdmUxYWNBWGJId3hvaE1RIn19");
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('66067837e8431', 'card', 'buynow', 'rect', 'black');
});
} else {
renderPayPalButtons('66067837e8431', 'card', 'buynow', 'rect', 'black');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66067837e8431', 'paylater', 'paypal', 'pill', 'blue');
});
} else {
renderPayPalButtons('66067837e8431', 'paylater', 'paypal', 'pill', 'blue');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66067837e8431', 'paypal', 'buynow', 'pill', 'blue');
});
} else {
renderPayPalButtons('66067837e8431', 'paypal', 'buynow', 'pill', 'blue');
}