Why don't we vote online?
A voting system needs secrecy, accuracy & verifiability. Online systems can provide 2 of the 3 at a time, but not all 3.
Online shopping tolerates a certain level of fraud; a system for electoral votes can't tolerate any fraud at all.
Electronic voting could be used effectively in the UK's House of Commons, but just not a good idea on a nationwide scale.