In 2012, Square formed a partnership with Starbucks that ranked among the biggest of the payments company’s history. Starbucks invested $25 million into Square, which has, in turn, helped customers process payments at its thousands of locations around the country. But now that’s going away.

Square has revealed in its initial public offering that the companies will part ways in the third quarter of 2016: “We … anticipate that Starbucks will transition to another payment processor and will cease using our payment processing services prior to the scheduled expiration of our payment processing agreement with them in the third quarter of 2016.”

In 2012, Square received $9.47 million in revenue from Starbucks, and that amount increased in 2013 to $114.45 million, until finally reaching $123 million in 2014. However, the transaction costs from the Starbucks deal paint a very different picture: In 2012 Square paid $12.54 million in fees associated with the processing it did from Starbucks, $139.8 million in 2013, and $150.96 million in 2014.

Screen Shot 2015-10-14 at 1.55.32 PM

VB Transform 2020 Online - July 15-17. Join leading AI executives: Register for the free livestream.

Based on the filings, it appears that Square has put too many of its proverbial eggs in one basket, and that, in order for it to succeed, it’s going to need to rely more on other companies to help minimize the risk that it incurred from the Starbucks deal.

At the time, Square said that the deal with Starbucks was “a valuable catalyst for building best-in-class enterprise infrastructure.” Sadly that may not have been true. In 2013, Starbucks’ CEO Howard Schultz announced his departure from Square’s board, a year after Starbuck’s investment in the company. At the time, Square defended the decision, saying that Schultz had only intended to stay on the board for about a year.

Following the separation, Square says it expects its overall gross profit to be “positively” affected.