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/mhvzwmmn0n2b/plugin/57/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AW1MxMmRiPGfQ1nWIz0O7BGHjoMcRoUb8IOidTAqhi7dkPuodrD0ONxkoBhe5HVfgSJNN0NaOMO1VeY-");
script.setAttribute("data-currency", "CHF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzU4MTY3YzgwNWU5Nzc5MzJlN2IxZDU1ZTg2OTMxZjgxMDMwYjVjNDRkZDNhMjI1ZjQyMWFhNTgyZWRiMTg0NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjlUMDc6MTU6NTUuMzMxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBwVW03WmlrZ1ZQejlmdktGSzZueHdWNUNrM0wtUFJDdHpLdWpOTmRpQ1ZCLXllN0E5aEU3T3FUZXZ0RThEVy1EUDRTNHMxMmtVc3dBcjYzQUt3SHhrT09iMDV3In19");
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", "AW1MxMmRiPGfQ1nWIz0O7BGHjoMcRoUb8IOidTAqhi7dkPuodrD0ONxkoBhe5HVfgSJNN0NaOMO1VeY-");
script.setAttribute("data-currency", "CHF");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzU4MTY3YzgwNWU5Nzc5MzJlN2IxZDU1ZTg2OTMxZjgxMDMwYjVjNDRkZDNhMjI1ZjQyMWFhNTgyZWRiMTg0NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjlUMDc6MTU6NTUuMzMxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBwVW03WmlrZ1ZQejlmdktGSzZueHdWNUNrM0wtUFJDdHpLdWpOTmRpQ1ZCLXllN0E5aEU3T3FUZXZ0RThEVy1EUDRTNHMxMmtVc3dBcjYzQUt3SHhrT09iMDV3In19");
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('66066be601ac8', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66066be601ac8', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66066be601ac8', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66066be601ac8', 'paypal', 'buynow', 'rect', 'gold');
}