I had the same problem, but hub had no inner lip inside.
Hub shell was steel, so found a piece of pipe that fit pretty tight inside, measured 50 times and cut it to fit. Used a pipe cutter for an exact slice.
Drilled four holes in each end and mig welded it to the shell from the inside. Had to make sure the holes were close enough to the ends so my welder had enough stick out.
Cut an inner spacer, slapped in the bearings and done.
Side note. Find a bearing warehouse. I use Eureka Bearing in Huntington Beach, near my house.
Bearings and seals are half what you'll pay at a moped store, and they can get anything. Like good SKF and FAG bearings. Bring the hub with you and let them measure it for you.