Cute story.
I generally avoid self checkouts, as I feel it's a way for companies to cut back on personnel. Also, self checkouts are prone to their own little fiascos, as you found out.
I am glad the situation worked out in your favor. Silver lining.