Square error: (location_id-mismatch)

If you get this error message when you try to process a Square POS payment:

Square error: (location_id-mismatch)​

It means that the location or account selected in the Square app are not the same as the location or account integrated in Bookeo, in Settings>Online payments, in the Square POS section.