Do I have to be paid if I gave 2 weeks notice?

Question Details:

I am paid 100% Commission. I recently got a new job, and put my 2 weeks notice in the day before I went on a 5 day vacation, and then was scheduled to work an additional 5 days when I got back. At the end of my shift they told me that they were thankful that I gave them my 2 weeks notice but today would be my last day of work. Basically, I want to know if it is legal for them to fire me? Also, since I am commission I am losing a lot of money. My company says that they only pay for installed jobs while you are working a majority of my jobs where scheduled to be completed in the following 2 weeks and I think that is why they fired me so they would not have to pay. What options do I have if any to get paid for the 2 week? I have not talked to them yet about how I would get paid, but I would like to finish out my last week once I return from my trip on Wednesday.

IMPORTANT NOTICE: The Answer(s) provided above are for general information only. The attorney providing the answer was not serving as the attorney for the person submitting the question or in any attorney-client relationship with such person. Laws may vary from state to state, and sometimes change. Tiny variations in the facts, or a fact not set forth in a question, often can change a legal outcome or an attorney's conclusion. Although has verified the attorney was admitted to practice law in at least one jurisdiction, he or she may not be authorized to practice law in the jurisdiction referred to in the question, nor is he or she necessarily experienced in the area of the law involved. Unlike the information in the Answer(s) above, upon which you should NOT rely, for personal advice you can rely upon we suggest you go to and retain an attorney to represent you.