the Order Reference ID uses the Session ID this is automatically generated by the server.
You could use something like the time stamp + a random number to create an order ID:
<?php echo((time() + rand())); ?>
On the confirm page, double click the eCart Store Order summary. In the value for the OrderReferance ID, replace the code for the session ID:
<?php echo session_id(); ?>
with my code above.