But my main problem is that the order number that is created by the system and the customer sees on the confirm_success.php page is not visible in the confirmation e-mail the customer gets.
We can live with AuthorizeNet displaying the session ID. I just want to make sure that the order number that is created by the Database is actually displayed on the order confirmation e-mail.
Is the code that we have in the order confirmation e-mail correct in this regards:
<?php echo ((isset($_SESSION["eCart1_OrderID"]))?$_SESSION["eCart1_OrderID"]:"")?>
This is the code generated while originally setting up ecart and we never changed it. Strange is, that it sometimes appears on the email but most of the time it does not.
Thanks for your help,