Online auction site eBay made $676 million in profits from March to June, beating expectations and despite a “challenging quarter”.

In the financial period, the company saw a slump in its search rankings and a data breach which saw up to 145 million accounts compromised. However, the company settled a dispute with investor Carl Icahn over a proposed sale of PayPal in the quarter, resolving the issue for the present.