kept only function that now outputs receipt, sent by apple