Error with Square payment integration