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.min.js";
script.setAttribute("data-client-id", "AdGqNd3ARNiCiSfRHX14al8fsag8i6tUv187E-TBCCKObtdHORfCG7WKv7dkLnu8UPuyiWtyO3XI_ja4");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzdjNTY5YzVkNDg0MjRjYTlmYjgwYzE4ZmI5ZjkyNWFiYWI5OGM2ZGI5Nzc3MmY5MzFlY2Y0NDM3N2UxYzFiZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTVUMDI6MDA6MDUuMzcwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBoOFdXT2t2ak5NX2tGSmFfSnJuVXlqSkp1V2M1VktFMGsxNTV4WVBTandjWTNscEFpVjhhVFljTDhRZWFhT1UxZEszX2E0Wi1BcjR6eVpPVU5EcTB5YXJQY2p3In19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiNzdjNTY5YzVkNDg0MjRjYTlmYjgwYzE4ZmI5ZjkyNWFiYWI5OGM2ZGI5Nzc3MmY5MzFlY2Y0NDM3N2UxYzFiZHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDUtMTVUMDI6MDA6MDUuMzcwWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBoOFdXT2t2ak5NX2tGSmFfSnJuVXlqSkp1V2M1VktFMGsxNTV4WVBTandjWTNscEFpVjhhVFljTDhRZWFhT1UxZEszX2E0Wi1BcjR6eVpPVU5EcTB5YXJQY2p3In19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "de_DE");
}