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/5j1bnzqvcami/plugin/1/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AQWUBHjk7RygjOyBpruFBxWCep28SfAoF8gn7btxgYT3yk1cxB9Aba529J4W7gKksDFtnBnccOOUgyyK");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDllZTY3N2UwNTc2ZGIwMjY5ZTMxNjNmMGRjMDQxNGJlYmRkYjRlZTkwZWE5ODc2OWJmMmY2YWI4Y2FmNTYzMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMjlUMTk6NDk6MzYuODE1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5Xb3Utb2gzRW1FUmpqSmU3QjdqcmdGd1RVVHJOd3VydC1fTUtIaC1aZkZwd2d0Mnp3NHZpOXhFU0hXUGx0bkdaNDV6YUxhU3duUjFHVEQ4QnM5cXZ5UXhzc1N3In19");
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", "AQWUBHjk7RygjOyBpruFBxWCep28SfAoF8gn7btxgYT3yk1cxB9Aba529J4W7gKksDFtnBnccOOUgyyK");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDllZTY3N2UwNTc2ZGIwMjY5ZTMxNjNmMGRjMDQxNGJlYmRkYjRlZTkwZWE5ODc2OWJmMmY2YWI4Y2FmNTYzMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDUtMjlUMTk6NDk6MzYuODE1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU5Xb3Utb2gzRW1FUmpqSmU3QjdqcmdGd1RVVHJOd3VydC1fTUtIaC1aZkZwd2d0Mnp3NHZpOXhFU0hXUGx0bkdaNDV6YUxhU3duUjFHVEQ4QnM5cXZ5UXhzc1N3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647508bdd6abe', 'paylater', 'paypal', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647508bdd6abe', 'paylater', 'paypal', 'rect', 'gold');
});
}
if(typeof renderPayPalButtons === 'function') {
renderPayPalButtons('647508bdd6abe', 'paypal', 'buynow', 'rect', 'gold');
} else {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('647508bdd6abe', 'paypal', 'buynow', 'rect', 'gold');
});
}