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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjE5YjRmYTI3M2ZmNWEyMTBkYTZiYjIyY2M1NDNmNGU4ODFjNGU3NjQyODE5MTBiOGNlOGNiMDI1NjEzMzg4ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMTM6MDI6NDEuOTkxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBoUnhfZGlIT2Z0UUFibHY3R0FZTTRsTktGOHBuS21FNlBURDR2ZTlmekg5clY5OGxoZUM0MnNVenhNcXpPald4QXVxTnVfUlFKYk9laVNJN2hnbVBkQTBLVTFBIn19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjE5YjRmYTI3M2ZmNWEyMTBkYTZiYjIyY2M1NDNmNGU4ODFjNGU3NjQyODE5MTBiOGNlOGNiMDI1NjEzMzg4ZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDQtMjVUMTM6MDI6NDEuOTkxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBoUnhfZGlIT2Z0UUFibHY3R0FZTTRsTktGOHBuS21FNlBURDR2ZTlmekg5clY5OGxoZUM0MnNVenhNcXpPald4QXVxTnVfUlFKYk9laVNJN2hnbVBkQTBLVTFBIn19");
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('662a59227e6f3', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('662a59227e6f3', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('662a59227e6f3', 'paypal', 'checkout', 'rect', 'gold');
});
} else {
renderPayPalButtons('662a59227e6f3', 'paypal', 'checkout', 'rect', 'gold');
}