Looks like someone has taken a wack at fixing the door. Bad trailer repairs are like bad DIY home projects I am often called on to fix. In most cases it's easier to start over from scratch.
Since the current Scamp
Door window won't match what you have you should be able to save about $100 if you get a new door W/O a window. You then can install your current window later or just install a peep hole. Check with Scamp on that option. Do you get a new door handle and hinges with the new door?
An after the fact door repair and paint
job on the door will more than likely cost as much as a new door (-$100). I would deal with the door before the paint job. As always with Scamp packing and shipping cost is a big factor. But with a door you will be faced with that cost no matter where you find a door unless you find one locally.
Donna is correct, about verifying the fit.