Calling completion block when server receipt verified

In the completion block for verifyReceiptOnComplete the receipt details are stored by calling rememberPurchaseOfProduct

The problem I had was that on completion the completion block for the calling process of BuyFeature was never getting called.

I added

if(self.onTransactionCompleted)
               self.onTransactionCompleted(productIdentifier, receiptData);