The best explanation I can think of for "got a lot of credit for" is "was thought to be due to" with a possible implication that this may not be the case and it was actually due to something else. As for "probably don't get enough credit for", I would say this means the actions impact on the result is likely undervalued.