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/k5swtppid9mk/plugin/48/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "Ac8l_3PMJSdSELTkc-VTaJmR_NE2cUUuAcVQIIrbTD7rQyZ0MOLv5ninr5CHMHCAdHmPq9fYQmjOHQb9");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjRjNWE4ZTJhMzgyOGQ0MWFiZGYyODZlNTNlMGZmZTg2OWE4NTQzOWI0ZmI1MjljMTMwYzU1MzljNzNhODYzMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMjJUMTk6MDA6NTkuMTk0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB0WDF4SW5DaE9vamJGajBRNFJjZFdXd3hLVXMtV1dhOGo5NVR4a1RveVJKdGRLZ1gyOHRDNnIzV0xxZ3JDMmtDcVhDOTFPOXFMc3VyVnRmb3pZa3ZBdkVhQXhnIn19");
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", "Ac8l_3PMJSdSELTkc-VTaJmR_NE2cUUuAcVQIIrbTD7rQyZ0MOLv5ninr5CHMHCAdHmPq9fYQmjOHQb9");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMjRjNWE4ZTJhMzgyOGQ0MWFiZGYyODZlNTNlMGZmZTg2OWE4NTQzOWI0ZmI1MjljMTMwYzU1MzljNzNhODYzMXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMjJUMTk6MDA6NTkuMTk0WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVB0WDF4SW5DaE9vamJGajBRNFJjZFdXd3hLVXMtV1dhOGo5NVR4a1RveVJKdGRLZ1gyOHRDNnIzV0xxZ3JDMmtDcVhDOTFPOXFMc3VyVnRmb3pZa3ZBdkVhQXhnIn19");
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('6740d4ed5f5a7', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('6740d4ed5f5a7', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('6740d4ed5f5a7', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('6740d4ed5f5a7', 'paypal', 'buynow', 'rect', 'gold');
}