In most jurisdictions buying drugs is a criminal act, or why would you buying them online? If you commit a crime you are a criminal, by the definition of the word. You can argue about the merits of the law, but it doesn't mean that you've not committed the crime.
You said "In most jurisdictions buying drugs is a criminal act, or why would you buying them online?" which implies that you only buy things online if it's a crime. You didn't mention where you bought your toaster or your bread, not online I hope!