The sleaze bag who sold you the magneto unit that will fit but not work says thank-you and please buy another cause the repayments on my 25th investment condo in Florida has gone up.
However there might be another reason so start with a can of starter fluid.
Spray a VERY SMALL amount down the plug hole, fit a nice new plug & try to start the engine.
If it does not fire then check that the valves close fully and if they do toss the coil & get one from a real small engine shop, you know one with a counter and people standing behind it that sell parts that work rather than parts that are cheap.
If it does fire the try a SHORT shot down the carb throat.
If it fires again then the valves are working fine, the timing is OK but the carb has problems.