Starbucks Coffee Co. has signed on with Square Inc. to process its credit and debit card purchases, the coffee shop franchiser said Wednesday.