|
@@ -44,11 +44,11 @@ extension TSPurchaseTimesManager {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|
|
- guard SKPaymentQueue.default().transactions.count <= 0 else {
|
|
|
|
- purchase(self, didChaged: .payFail, object: "You have outstanding orders that must be paid for before a new subscription can be placed.",transaction: nil)
|
|
|
|
- debugPrint("TSPurchaseTimesManager pay period restorePremium = \(period)")
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
|
|
+// guard SKPaymentQueue.default().transactions.count <= 0 else {
|
|
|
|
+// purchase(self, didChaged: .payFail, object: "You have outstanding orders that must be paid for before a new subscription can be placed.",transaction: nil)
|
|
|
|
+// debugPrint("TSPurchaseTimesManager pay period restorePremium = \(period)")
|
|
|
|
+// return
|
|
|
|
+// }
|
|
|
|
|
|
if let product = kPurchaseDefault.product(for: period) {
|
|
if let product = kPurchaseDefault.product(for: period) {
|
|
purchase(self, didChaged: .paying, object: nil,transaction: nil)
|
|
purchase(self, didChaged: .paying, object: nil,transaction: nil)
|