Updated clerk to check receiptid