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/skfl22qklljd/plugin/27/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AXuhwpxEzYMEeeoE-T5ZntVVJgmXC19Uk5YgMfhw7celm551Lg1JZeN78knW6A03-1l2cfA5z2_8KuAl");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjBjYzM4MGZiYzY4YTM3ZWY4YzY0ZDdlODk1MzVmODYwZWIzMmYwZjA1ZmM5YWRjZDExOTE2NDhjZjY2YmZkYXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDEtMjdUMTQ6MTI6MzEuODc4WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5jTHlKU3NLZ1hFVndWSHZUaHNUYVRYVlNZNEF6VXZGWk5GS3YwM25Oc1d0Y283cGJ5M3JGYmxOakdpWHZsOFpCc3UyYk5iYlE1UF9ZWDVPYVNrSFRWdHlJXzhRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d3e7fdeed9f', 'card', 'buynow', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d3e7fdeed9f', 'card', 'buynow', 'rect', 'white');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d3e7fdeed9f', 'paylater', 'paypal', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d3e7fdeed9f', 'paylater', 'paypal', 'rect', 'white');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63d3e7fdeed9f', 'paypal', 'buynow', 'rect', 'white');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63d3e7fdeed9f', 'paypal', 'buynow', 'rect', 'white');
});
}