Closed sde1000 closed 1 year ago
It appears communication errors during refunds can leave things in a state where the refund exists in Square but not on the till. Not sure yet how we get into this state — the idempotency key is supposed to be committed to the database for the pending refund payment before we even attempt communication.
See this traceback:
This was just a glitch - after the till started back up we were able to complete a Square transaction. It would be better to have a helpful error message when the API connection fails, though!