diff --git a/IVPNClient/Managers/PurchaseManager.swift b/IVPNClient/Managers/PurchaseManager.swift index f0fe61c43..584dd9d5b 100644 --- a/IVPNClient/Managers/PurchaseManager.swift +++ b/IVPNClient/Managers/PurchaseManager.swift @@ -86,11 +86,11 @@ class PurchaseManager: NSObject { log(.info, message: "[Store] Completing successful in-app purchase \(productId)") self.complete(transaction) break - case .success(.unverified(_, _)): + case .success(.unverified(_, let result)): // Successful purchase but transaction/receipt can't be verified // Could be a jailbroken phone log(.info, message: "[Store] Purchase \(productId): success, unverified") - delegate?.purchaseError(error: ErrorResult(status: 500, message: "Purchase is unverified.")) + delegate?.purchaseError(error: ErrorResult(status: 500, message: "Purchase is unverified: \(result.localizedDescription).")) break case .pending: // Transaction waiting on SCA (Strong Customer Authentication) or