Is buying lotto tickets online legit?

I see alot of online sites where you can buy tickets online but whos to say that you will actualky receive the money has anyone ever bought tickets online and received their money if they won
0