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/xxtlyhj1jjig/plugin/12/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AeQG2ooXYOwD60cYwW0KZhL-6EWzYgYl-FmrmCPI0Sx7PlmihP7h1i2bFR7dm3dvWf0ifzAL7Wh6vWUu");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjI0YzY5ZDJmZGY0NzhkOWFhNGM2NTExMjQyZmY0OGQ4MjBhYzc3M2JkYWU5NDQxYzczNjhiZWU0MmYxZjgwZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMjFUMTI6MjM6MzEuMTcwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBPRVlNQW9NSlJtZE1tTlhGS3dCXzk5S1RpbmlYZ3hRMXU5Uzh2SGxKeDFnWjRZU0FSdnlMbFhXN2hUYVJVSUZILWw3RjBsLWo5dVNXOVVHb3JlaW5fSUR1YV9BIn19");
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", "AeQG2ooXYOwD60cYwW0KZhL-6EWzYgYl-FmrmCPI0Sx7PlmihP7h1i2bFR7dm3dvWf0ifzAL7Wh6vWUu");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZjI0YzY5ZDJmZGY0NzhkOWFhNGM2NTExMjQyZmY0OGQ4MjBhYzc3M2JkYWU5NDQxYzczNjhiZWU0MmYxZjgwZXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMjFUMTI6MjM6MzEuMTcwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBPRVlNQW9NSlJtZE1tTlhGS3dCXzk5S1RpbmlYZ3hRMXU5Uzh2SGxKeDFnWjRZU0FSdnlMbFhXN2hUYVJVSUZILWw3RjBsLWo5dVNXOVVHb3JlaW5fSUR1YV9BIn19");
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('66c5dfbf1f203', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('66c5dfbf1f203', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66c5dfbf1f203', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66c5dfbf1f203', 'paypal', 'buynow', 'rect', 'gold');
}