Thanks for the reply. I have made the changes but it is still not right. Teh credit card information is still not making it to the email and the OrderID number on email is now a nine digit number where it should be a four digit number:
Correct order ID as shown on confirm.asp and checkout_success.asp - 1440
Order ID shown on email - 960844696
Just to clarify, when I say Order Id I mean the Order number for each customer to refer to their particular order not the session ID.
The checkout success page correctly shows the Order ID and the Credit card details. The code I have for both of these on the checkout_success page is:
Order ID:
<%=Session("ts08usa_OrderID")%>
Credit Card Number:
<% If Len(Session("eCartCheckoutForm_cc_number")) < 4 Then Response.Write(Session("eCartCheckoutForm_cc_number")) Else Response.Write(Right(Session("eCartCheckoutForm_cc_number"),4)) End If %>