Of course the marriage is invalid. For so many reasons (and not just from common sense but also through the religion)
1. if you are under age your parents have to consent the marriage
2. because your parents didn't consent the marriage, you can't accept a dowery. No matter what for it is in.
3. you can't get married online because the witness and you and your husband have to be in the same room.
The list goes on....