             }
             catch let error as NSError {
                 print(validationErrorString + urlRequestString + error.localizedDescription)
-                handler(false, nil)
-                return
+                return handler(false, nil)
             }
             
             /// Parse json
             guard let parseJSON = json else {
                 print(validationErrorString + urlRequestString + "JSON parse error")
-                handler(false, nil)
-                return
+                return handler(false, nil)
             }
             
             /// Check for receipt status in json
             guard let status = parseJSON[JSONResponseKey.status.rawValue] as? Int else {
                 print(validationErrorString + urlRequestString + "Receipt status not found in json response")
-                handler(false, nil)
-                return
+                return handler(false, nil)
             }
             
             /// Check receipt status is valid
             guard status == ReceiptStatusCode.valid.rawValue else {
                 print(validationErrorString + urlRequestString + "Invalid receipt status in json response = \(status)")
-                handler(false, status)
-                return
+                return handler(false, status)
             }
             
             print("Valid receipt status in json reponse: \(status)")

            /// Check receipt send for verification exists in json response
            guard let receipt = parseJSON[JSONResponseKey.receipt.rawValue] else {
                print(validationErrorString + urlRequestString + "Could not find receipt send for validation in json reponse")
                handler(false, nil)
                return
            }
            
            print(urlRequestString + "Valid receipt in json reponse = \(receipt)")
            
            /// Check receipt contains correct bundle and product id for app
            guard self.isAppBundleIDMatching(withReceipt: receipt) && self.isTransactionProductIDMatching(withReceipt: receipt) else {
                handler(false, nil)
                return
            }
            
            // Validation successfull, unlock content

        SwiftyReceiptObtainer.shared.fetch { [unowned self] receiptURL in
            guard let validReceiptURL = receiptURL else {
                print("Receipt fetch error")
                return handler(false)
            }
            
            self.startReceiptValidation(forURL: validReceiptURL, handler: handler)
