I had a similar experience, but it wasn't from a cafe; rather, it was from a taxi when I was driving and had to pay with a card. I mistakenly believed that my money would be deducted instantly. When I reached home, I realized I didn't have any money, so I contacted the driver to ask him to wait and gave him the cash. I believe the driver missed it at the time.