Why don't you just buy the damn thing ?
This was probably inevitably going to happen as the hub motor is constantly in direct contact with the ground, which means that a bad impact can dislodge a magnet.
I wanted to fix it myself, and the cost of the part would have had been almost the same price as just scrapping the scooter and buying a new one. Additionally, I had trouble going beyond about 5 miles, with the lights off and with conservative battery use, before running out of power.