added new method signatures in PurchaseObserver