The order id should also be inserted into your db on the confirm page, you should take a look at the value on this page and try updating your email value to match.
Also for the credit cart the code is designed to only show the last 4 digits if a credit cart was entered. If you did not enter a credit cart it will not show the digits at all. What is the checkout you are using?