Yahoo has finally come to an agreement with Chinese Internet giant Alibaba in a months-long battle over the ownership of payment site Alipay. Yahoo (YHOO, Fortune 500) owns about 40% of Alibaba, which itself owns Yahoo China — as well as three massive Chinese properties including Alipay. That stake is one of Yahoo’s bright spots, so investors weren’t pleased when uncertainty developed over Alipay.