We can get system configuration values using
Mage::getStoreConfig($xmlPath);
But how can we set such configuration field programatically? I would expect some method like
Mage::setStoreConfig($xmlPath, $val);
But the closest thing I'm seeing is
Mage::app()
->getStore()
->setConfig($xmlPath, $val);
->save();
But this is not updating the config value. Thanks for your time and help.