Added actions to handle order processing on the frontend