I just came back from Japan, it is my first time, so I found myself in the situations, that I wasn't prepared for.
At the convenience store I noticed natives tend not to say much to the staff at all, but I just want to confirm that I understand it right.
First when I come in everyone shouts いらっしゃいませ - I know I'm not supposed to answer, but I still throw some こんにちは, since I just feel strange not to answer.
I walk around and workers occasionally say いらっしゃいませ again and bow, so I say こんにちは and bow too, but native buyers seem to ignore いらっしゃいませ + bow combo. Is this fine and polite?
Then I bring products to the cash register and say こんにちは again and I really want to say something more, but can't find words and keep silent. I get some polite phrases thrown at me and presented with a number to pay. I say ちょっと待っててね and look for coins. So my coins are lying on the plate and I want to say "that's it", "I'm done", "please take my money" or something, but I really can't find the words and I just make some gestures waving the wallet and hands...
I can go on, but in short I really felt I'm not following some predefined step-by-step actions and not using common phrases, I say too much hellos and bow all the time. When I leave any form of "Goodbye" seem not appropriate, looks like past-tense "Thank you" is what natives say or not saying anything and just silently walking out is good. In your answer I would like to see an example of a common dialog, tips when to bow and when to say nothing. よろしくお願いします。