Again it’s in your own algorithm. “x times”, if you’re less than x YOUR OWN VERY CODE would not have flipped it over.
They refunded you right? So all is working EXACTLY how YOUR VERY OWN CODE would have it work. So stop whining.
Very happy you’ve never QAed my code. Any software should serve the user. Your attempts to justify the laziness and lack of functionality in this software are dumb. My code would never have allowed the transaction, even if x is 1. Especially considering MY ONLY JOB in creating the software is to facilitate a good transaction.
You’re not much of a QA person, especially considering the Q is for quality.