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/fsxbsoqhfg6e/plugin/63/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQDbUHETw5sRUUsLM3jyAdOQGdC5pXHAuSiqy9GfZXflNR1sK45UcAGukA-3tq4P9HM_88JkW_nM9tGg");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzQxMjQ4NGUzNmFjN2NkYjg0YTNjYTYxMGMwYTNkMDk3Zjk5MzA0MjRlOWJiM2E4OGI3ZjBjN2FlNzY2ZDgxOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjlUMTQ6NTg6NTAuNzU4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1jd1Z5TmlBUFJRZnlYZi1fMW5pOWVHb2NmaE5sNGpSMmtKdU1yM1NpR04tNmlNR2txeWRmbW5JVGtsQTRxOWRoYV80eG9UY0UwNnVZOV9OeE5pNS04YlZmU2VnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64245ebf28b72', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64245ebf28b72', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('64245ebf28b72', 'paypal', 'pay', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('64245ebf28b72', 'paypal', 'pay', 'rect', 'gold');
});
}