Goodwill knows it needs to figure out e-commerce. At stake, the nonprofit retailer says, is its ability to generate enough…