implement receipt sending after transaction