add function to support composing receipt manually,use RECEIPT_CONF to open this feature