Following a hapless first-half display the Hammers looked far from likely winners, but it was three second-half substitutions by boss Avram Grant which swung the match back in his side's favour.
BBC: West Ham 3-1 Stoke (aet)
2.
However, Lions full-back Lee Byrne conjured up a fine solo try which O'Gara converted before made six substitutions in quick succession.
CNN: Lions limp to victory in South African opener