Skip to content

Commit

Permalink
Merge branch 'task/filter-legacy-payments' into beta-2.12.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jurajhilje committed Sep 3, 2024
2 parents 64e1560 + ceff5c4 commit b3fb30c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions IVPNClient/Managers/PurchaseManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ class PurchaseManager: NSObject {
continue
}

guard ProductId.all.contains(transaction.productID) else {
continue
}

if transaction.revocationDate == nil {
log(.info, message: "[Store] Completing unfinished purchase \(transaction.productID)")
complete(transaction)
Expand Down

0 comments on commit b3fb30c

Please sign in to comment.