if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn03.plentymarkets.com/k1swu4s9yw8u/plugin/41/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AeruRmxo13qzoi0ixQ1ktBvPat2rvhrI89oUuGNplJOsURYNfHWOuS32OimJ9HHPZSJYFFfY99DJXg0P");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDExMWQ0YTI3OTJkNmVmNDQzNzQxNjI2OWMwZGU4N2NhZDg3ODdkMGYyYTNjOWIyMzk4N2U3NjgyZjRiYTIzMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjVUMjA6NDg6NTYuMTU3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVAxbUlxUml0UTVXWnlBeHZjM01QMDhyYTJuczRwbFU2amV4cFJqeDlTQXpHblllbmp1TE1zVWdVR3NhM01tSkNySGotOTF3eWJHWlVxdGdIZ21GNC1PUWpaU1dBIn19");
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", "AeruRmxo13qzoi0ixQ1ktBvPat2rvhrI89oUuGNplJOsURYNfHWOuS32OimJ9HHPZSJYFFfY99DJXg0P");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiMDExMWQ0YTI3OTJkNmVmNDQzNzQxNjI2OWMwZGU4N2NhZDg3ODdkMGYyYTNjOWIyMzk4N2U3NjgyZjRiYTIzMHxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMDMtMjVUMjA6NDg6NTYuMTU3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVAxbUlxUml0UTVXWnlBeHZjM01QMDhyYTJuczRwbFU2amV4cFJqeDlTQXpHblllbmp1TE1zVWdVR3NhM01tSkNySGotOTF3eWJHWlVxdGdIZ21GNC1PUWpaU1dBIn19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}