Fix: Correct invalid references to purchase log id property

replaced with call to purchase log get method