The bakery chain used Square for 12 years before trying a rival platform.