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/ugqefoh1nk2m/plugin/8/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdGqNd3ARNiCiSfRHX14al8fsag8i6tUv187E-TBCCKObtdHORfCG7WKv7dkLnu8UPuyiWtyO3XI_ja4");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjc1ZWNjNTU0ZWE5MWZhNzVhYWI2Y2M3YTM2Y2M4ZTZjNzgyNWJkMjM0NzA4YzFlYTM2ZmEyYTdlZTU4NGYzZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjBUMTA6NTc6MzguMDUxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU51TWhtampPNnBVYUNyS2JmWlRLbXZGS0ZHdEE1Q2JlWk5WRV83ZVRaelZuMnFhLVJzSVhndmNucnpzQ0pFaEY4OVIyNG82dFd5dWZMbjBXVVloX213Um81eFd3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AdGqNd3ARNiCiSfRHX14al8fsag8i6tUv187E-TBCCKObtdHORfCG7WKv7dkLnu8UPuyiWtyO3XI_ja4");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNjc1ZWNjNTU0ZWE5MWZhNzVhYWI2Y2M3YTM2Y2M4ZTZjNzgyNWJkMjM0NzA4YzFlYTM2ZmEyYTdlZTU4NGYzZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMDMtMjBUMTA6NTc6MzguMDUxWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU51TWhtampPNnBVYUNyS2JmWlRLbXZGS0ZHdEE1Q2JlWk5WRV83ZVRaelZuMnFhLVJzSVhndmNucnpzQ0pFaEY4OVIyNG82dFd5dWZMbjBXVVloX213Um81eFd3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}