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