You need to reread. Shikamaru used his Shadow jutsu to capture Hidan a few times but he was never able to deal a lethal blow. By the time Shikmaru got him to the forest he was almost out of chakra. Besides the explosion, the only damage done to Hidan was when he stabbed himself and the only reason Shikamaru wasn't dead is because Kakashi helped him get Kakuzu's blood. After that all that happened, was the trap which Shikamaru has a very long time to prepare and it was on his home turf as well. If a single one of those things had been missing, Shikamaru would be dead.
Shikamaru was able to take on (1-on-1) Hidan, which we all saw as a taijutsu phenomenon to the point of tricking him so many times in a row that I came multiple times