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/18hgwtl7u0d0/plugin/28/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AZRJf13Mikgr3cUra6G2KldMcY53P6_ATaffgoOa78Cx39wK28Rt-G28hw7zBxkaeENHGb7dyllJbkSe");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODllMzc4MzRjZTYxMTQxZGVlNGJmNGMzMzUwNTBlM2QzMGI3ZTFlZDEyOWEyOTgzODMzOWUyNWE3MTVhZjBlZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDVUMTY6NTY6MjYuNjg3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4ya1ZHOW9rblZnZ2R0Vkt3Y0JUZkt4S3FrZWpVckVpbzlrWEJ2QUE2WWlxN0xrQnhPZU51Y2tjQzBTcUhSSGJjdkNPX1dDbFlHZV92TkJ1VjNiYWt0Zy04NDFBIn19");
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", "AZRJf13Mikgr3cUra6G2KldMcY53P6_ATaffgoOa78Cx39wK28Rt-G28hw7zBxkaeENHGb7dyllJbkSe");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiODllMzc4MzRjZTYxMTQxZGVlNGJmNGMzMzUwNTBlM2QzMGI3ZTFlZDEyOWEyOTgzODMzOWUyNWE3MTVhZjBlZnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMDVUMTY6NTY6MjYuNjg3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4ya1ZHOW9rblZnZ2R0Vkt3Y0JUZkt4S3FrZWpVckVpbzlrWEJ2QUE2WWlxN0xrQnhPZU51Y2tjQzBTcUhSSGJjdkNPX1dDbFlHZV92TkJ1VjNiYWt0Zy04NDFBIn19");
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('6637c0f796c59', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6637c0f796c59', 'paypal', 'buynow', 'rect', 'gold');
}