Looks like you learned the hard way. Electricity is nothing to play with. Depending on how you had miswired it, things could have gone rather badly. There is a place for the expensive pros, but there is also a place for doing things on your own. That only works when you learn what is going on.
A HUGE hat’s off to Marzocco for walkingyou through it, though. Not sure other vendors would have been so gracious. Bet advice… anyone wanting to wing it with electricity, get a simple book about AC wiring. Home Depot sell a basic how to book, which goes into things like different voltage amperage, plugs and sockets, wire colours, etc. That’s a bargain to have all that in your hand when winging it.
Glad all turned out well, nothing blew up, smoked, burned down, or fried… and you git it handled in time. Nice work being persistent and resourceful.