Internaut, I transited Lome last year on the way to Abidjan, with an overnight stop on separate tickets. I honestly don't remember the details but for sure I got a visa on arrival and it was a totally straightforward process (if it wasn't, I'd have remembered...). I think that you should be okay.
Safe travels.