 			return
 		}
 		
+		restoredTransaction += 1
 		finishTrasactionFor(productIdentifier)
 		SKPaymentQueue.default().finishTransaction(transaction)
 	}

		}
	}
	
	private func complete(_ transaction: SKPaymentTransaction) {
		finishTrasactionFor(transaction.payment.productIdentifier)
		SKPaymentQueue.default().finishTransaction(transaction)

		}
		
		buyCompletionHandler[identifier]?(success: error == nil, error: error)
		buyCompletionHandler[identifier] = nil
	}
}
