Ok, so some stuff isn't working.
Central locking, window and side indicator works.
Mirror heating and folding doesn't work.
a) Does the door speaker work?
b) Does the mirror adjustment in all directions work?
Fuse 7 / 30A covers Power mirror defogger, Sunroof motor. (Fuse 7 is in the engine compartment fuse box.)
Fuse 22 / 7.5A covers A/C compressor clutch relay, A/C switch, Blower motor relay, Condenser fan relay, Heater control panel, Power mirror actuator, Power mirror defogger relay, Radiator fan relay (Fuse 22 is in the under-dash fuse box.)
If they are okay, check the wiring again. Have a look at the plug you plugged back in and note how many wires / it has. Might give a clue as to if it has the correct door wiring loom or not. Other than that, check the mirror wiring to see if it is connected and connected correctly.
(I'm beginning to wonder if the door loom fitted to the car is the short of a couple of plugs!)