log a transaction when an order is placed