If you have wireless charging your iPhone and iPhone wireless charging not working. It may be not compatible with your device or it is not defective. Must charge another device to see that wireless charging is working or not.
You can few additional fixes write there -
Restart your iPhone device
Hard reset
Remove your iPhone case
Check your wireless charger is plugged in
Upgrade your iPhone
Qi-enabled iPhone wireless charging pad