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/wi88jrn936vt/plugin/5/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AZTjRxpj3vNir-Nyj12o4HU0JIlssCnKR3-YkQbUO6GSg1PFTvRUd1so7Z-IT_giy8T57bcTP1KE1tEP");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzUzZjlhMTg3NzYzM2JlYTZhNDY0N2I5ZTFhYTkwZWMzNzU5ZWQwODFkM2FhMmM4NTBjZjllZTdkZmI3NmQ2NHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMjFUMDg6NDk6MzYuNzI1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA5WmNBeHI1NWdkbHYyTkU5QzZ4SXBxbU1DbDZldXJOSWhnRGxqYndRQ29hNnpkMHQ5YW1NR2JqYVk4d0Z3UWlvbHozRDk4djRuSDZxMEh1YzBxU3h3XzFTR0JnIn19");
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", "AZTjRxpj3vNir-Nyj12o4HU0JIlssCnKR3-YkQbUO6GSg1PFTvRUd1so7Z-IT_giy8T57bcTP1KE1tEP");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYzUzZjlhMTg3NzYzM2JlYTZhNDY0N2I5ZTFhYTkwZWMzNzU5ZWQwODFkM2FhMmM4NTBjZjllZTdkZmI3NmQ2NHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDgtMjFUMDg6NDk6MzYuNzI1WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVA5WmNBeHI1NWdkbHYyTkU5QzZ4SXBxbU1DbDZldXJOSWhnRGxqYndRQ29hNnpkMHQ5YW1NR2JqYVk4d0Z3UWlvbHozRDk4djRuSDZxMEh1YzBxU3h3XzFTR0JnIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}