I came in because my iPhone was only working while on speaker. I googled the problem and it looked as if there were many pages describing similar situations. From the moment I walked into this store, people working there weren't really interested in helping to solve the problem, but rather kept making sales pitches trying to convince me to upgrade. One of the employees took my phone into the back without asking me and came back saying that they suspect that the phone was refurbished and therefore could not help me. This was a blatant lie and another sales technique to try and get me to buy a new phone.
I bought the phone brand new in box from T-Mobile. After leaving the store, I stopped at T-Mobile and was shown the history of my purchase with the warranty approval from Apple, which means that it was a brand new phone when purchased. The person at T-Mobile also mentioned that this particular problem was very well-known to Apple and that they used to fix it on the spot. I used to think that Apple was a different kind of company that was forward looking, but it seems that they have changed their business model.