Add experimental code for saving order details and receipt.