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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiN2YzMWQ3MWVlOTMxZDJkNDFlZjcwMDM4NGJkNzQ2MDkzMjEzMzVmNTFlNGZjYjhmNTZiZjllNjk4OTBmZTkyN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMzBUMDM6MDM6MzIuODQ3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1SOXAyZ3M4Q3pORms5MmJmZG05ZXlhSmYzaDRxdUYydTJnTjhtYXdJZlh1ckVDQUtnN3NVRVU0RXdyczBsM1pLM0Z5ODZMeEdLSnVNTWh6OGN6ZDJHalhBUHJ3In19");
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", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiN2YzMWQ3MWVlOTMxZDJkNDFlZjcwMDM4NGJkNzQ2MDkzMjEzMzVmNTFlNGZjYjhmNTZiZjllNjk4OTBmZTkyN3xtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjMtMTEtMzBUMDM6MDM6MzIuODQ3WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU1SOXAyZ3M4Q3pORms5MmJmZG05ZXlhSmYzaDRxdUYydTJnTjhtYXdJZlh1ckVDQUtnN3NVRVU0RXdyczBsM1pLM0Z5ODZMeEdLSnVNTWh6OGN6ZDJHalhBUHJ3In19");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
}