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/agj6azwzjkcd/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "ARKgZAgeMQSZP0WfKIGbX1zmrdhMWe9z1Dck-2SGV1Gt2cr9XaQoHNixZD85ya8dxOZ6HuAIBe9IoxE3");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMmM0YzMzMWE2OGRiYTU2MmY3YWY4Y2E2NjZlZDgyMzZiZGUyNmVhODk0NWMxM2RmNzI1ZDZmOWNlNTViYWExM3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDdUMTU6MTE6MjguOTE2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBzU21rLWk0MHZvYTZvaXlUcXlaRUpOdy12aG9wMlc0Z2kyMzJiVU1neVp5Y0FnN3BwMjZkelhRMW00TktRSVE4bE43ZmNOQTNDUExmUXNFVUZ5bTN2Vi1UUVJnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e26f6acedac', 'paylater', 'paypal', 'rect', 'silver');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e26f6acedac', 'paylater', 'paypal', 'rect', 'silver');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63e26f6acedac', 'paypal', 'paypal', 'rect', 'black');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63e26f6acedac', 'paypal', 'paypal', 'rect', 'black');
});
}