Under the earn-out agreement , eBay was required to pay up to about $ 1.7 billion based on things like Skype 's number of active users and sales and gross profit targets in 2008 and the first half of 2009 .