Ok, you're in luck!
I also recently bought one similar from Aliexpress and the connector plug spade terminals need to be re-configured to make it work. There was no wiring diagram with the lamp. Typical Chinese product!
Here's how I did it.
1) With a test light or multi meter test the connector's pins on the power supply side (the bike's harness side) and make a diagram of the connector's Ground, Stop Lamp, Tail lamp. Note the wire colors.
2) then check using a power wire and ground wire (from a battery) which spade terminals in the lamp's connector plug are the Ground, Tail lamp, Stop lamp, left blinker and right blinker
3) The ground wire in the lamp is white if my memory serves me correctly. If not, try black.
4) Once you have the wire colors and corresponding uses worked out, remove the spade terminals from the lamp's connector plug and switch them around in the plug to match the harness side's configuration.
5) The licence plate lamp's wires are joined to the lamp's ground wire and tail lamp wire, I stripped back the insulation on said wires and soldered the llicence lamp wires in and taped them... like a true pro lol !
Easy!
Good luck and any problems, just ask.