Boniface, who recently returned from a three-month injury layoff, came on in the second half to inspire Leverkusen to a 2-0 victory over the Hammers in the first leg of the quarter-finals.
The Nigeria international replaced Patrik Schick in the 76th minute and a few minutes later another substitute Jonas Hofmann opened the scoring for the Bundesliga leaders.
Boniface then scored his first goal since making his injury return by powering a header into the net in injury time to round up a 2-0 victory for Xabi Alonso’s side.
By the time Boniface scored, Kudus had already left the pitch after being replaced by Ben Johnson but the striker still went ahead to hit the Ghanaian’s goal celebration.
Boniface ran to sit on the advertising board, a celebration which has become synonymous with Kudus since he moved to West Ham.
Meanwhile, Kudus recently joked that players copying his iconic goal celebration will soon have to start paying taxes.
The 23-year-old has made a great start to life in the Premier League since swapping Ajax Amsterdam for East London last year.
Anytime he scores, though, he’d run to the advertising board facing the West Ham faithful, sit on it and fold his arms.
It is an iconic goal celebration that is fast catching on and has already been noticed by some of the players and fans on social media.
"I just thought about something out of the box and then some other people followed it up. Now there’s a conversation about whose is better. I’ll have to come up with another juice and put more spices in the tin. It’s all about resting after scoring a goal,” Kudus told the Guardian.
"There’s no deeper meaning. I just see it as entertainment, something to make people happy and worth the ticket that they bought. I’m still just having fun in the playground…They’re allowed to do it. But soon they will have to start paying taxes."
Kudus has been involved in 17 goals in all competitions (12 goals and five assists) for West Ham this season.