I'm implementing my first payment gateway, and while my situation might be simple in that I could make all three the same, but I'd like to know some situations where they should be different.
So again, What is the difference between order number, transaction id and invoice no. and any other forms of transaction related information?
Do all of them have to be unique?
Lastly, what do I show to the client once the transaction is complete?
Note: I'm a merchant, but situation pertaining to any other domain (e.g. bank, credit card, payment gateway, or anything) is also acceptible.