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/r3pmentklgg2/plugin/87/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AYKg1tEqGJHw1m6M869hRpzbgVlnIBb-V_iy7SwmxiPwuQU4jE-mUlshQ2OCMYz3wfkl7PTsWMtI-zT6");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMGJjNmU0NGFjODAyNjkwNjBkYmM4NWRkOTBjNGJjYjlkOTFhNmRkODE3NjAwNzI0MjlmMmU0ZDY3ZmFiMTU2NnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDItMDNUMTM6MDU6MzIuNDQ3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU80UzZSWmhqTkZQSDNUMmpDR2E0V0RmUUtxZUVXY0lJalhDakJlU3JSM2hGUC00MmF6SEpkUVd0UUpiblVEcFQ2UDZyVXdDTzJVQXZFWkFUUF9oM293YnBCU1pRIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dd1290dc907', 'paylater', 'paypal', 'pill', 'blue');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dd1290dc907', 'paylater', 'paypal', 'pill', 'blue');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('63dd1290dc907', 'paypal', 'pay', 'pill', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('63dd1290dc907', 'paypal', 'pay', 'pill', 'gold');
});
}