if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/omc1xo9x13m1/plugin/31/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Abh19_psBdHXwz1fCTQGmFn8u4755fjm5YPVIAn1uEWRnrVCq2xNavEGrZICX5NVusn6gaBo0TH5knlK");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTgzMjVlNDlhNjhlNWQ4ZGIyNzA0YzdiZmI3OTUxNTZhZDIyZDk0YTIzMzQxNzhlMWI5MGM0YWRhMTEzNDA0M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMjdUMTQ6NTQ6MjYuNDM0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9oV09wM25BZnNUUUh5cXNDam0zaUYwY1A2UVB1U2hXcTNBNVJXT1NqdHprLVZhbFBIXzRHWkNNWmo5YmF1cWZuNDNXY0JhaHdHNmRNUzhOd0lmV3BYaVRNQy1RIn19");
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", "Abh19_psBdHXwz1fCTQGmFn8u4755fjm5YPVIAn1uEWRnrVCq2xNavEGrZICX5NVusn6gaBo0TH5knlK");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNTgzMjVlNDlhNjhlNWQ4ZGIyNzA0YzdiZmI3OTUxNTZhZDIyZDk0YTIzMzQxNzhlMWI5MGM0YWRhMTEzNDA0M3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMjdUMTQ6NTQ6MjYuNDM0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU9oV09wM25BZnNUUUh5cXNDam0zaUYwY1A2UVB1U2hXcTNBNVJXT1NqdHprLVZhbFBIXzRHWkNNWmo5YmF1cWZuNDNXY0JhaHdHNmRNUzhOd0lmV3BYaVRNQy1RIn19");
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('66cdf6b0d0ccd', 'paylater', 'paypal', 'pill', 'blue');
});
} else {
renderPayPalButtons('66cdf6b0d0ccd', 'paylater', 'paypal', 'pill', 'blue');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66cdf6b0d0ccd', 'paypal', 'paypal', 'pill', 'blue');
});
} else {
renderPayPalButtons('66cdf6b0d0ccd', 'paypal', 'paypal', 'pill', 'blue');
}