Note that "on line pharmacies" and the Canadian pharmacies asked about in the OP aren't the same thing.
There are several websites where consumers monitor online pharmacies and report the bad ones. I wouldn't order online without consulting it. Like everything on the web, some of the review sites are scams themselves, so you have to be careful.
Here is one
https://www.pharmacychecker.com/online-pharmacy-ratings.asp