I worked for a 100% remote company for years. Although I wasn't involved in the payroll details, my impression was that the problems were just bureaucracy, and not as painful as this article implies. The answer to make it work was, "Hire a payroll processor."