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/1j5nujw563uz/plugin/23/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ASGMKGxyExeQDQA39MhavsSe8IGVf66bMRzVQRg1kbD3o_YyE70-JAKgWsQrhrqYH65L8r7_4fWlZuvF");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTM4Y2U3N2M3OGM2MTU5YTBkNTBjNjBiOGQ3Y2E3MGNjNmY3ODQ1MWZlMDc2NGViNjcwYWY1Yzk4YTYwMzY5MnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDNUMjI6MzQ6MTEuNjA5NTk4NDk0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1VNTk3NHNvamcyT2NQZUJWcUh4LXVBZE00QXpUbHV5X2RrQzBYZG5OM1IyaXVFblVhV0VHOEVCMDhQRDlMTi0wcHlDNlVfTHA5YXhZeVJvUG5QM09ESWtBanVBIn19");
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", "ASGMKGxyExeQDQA39MhavsSe8IGVf66bMRzVQRg1kbD3o_YyE70-JAKgWsQrhrqYH65L8r7_4fWlZuvF");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMTM4Y2U3N2M3OGM2MTU5YTBkNTBjNjBiOGQ3Y2E3MGNjNmY3ODQ1MWZlMDc2NGViNjcwYWY1Yzk4YTYwMzY5MnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjUtMDQtMDNUMjI6MzQ6MTEuNjA5NTk4NDk0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1VNTk3NHNvamcyT2NQZUJWcUh4LXVBZE00QXpUbHV5X2RrQzBYZG5OM1IyaXVFblVhV0VHOEVCMDhQRDlMTi0wcHlDNlVfTHA5YXhZeVJvUG5QM09ESWtBanVBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67ef11afacdc7', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67ef11afacdc7', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('67ef11afacdc7', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('67ef11afacdc7', 'paypal', 'buynow', 'rect', 'gold');
});
}