
	func updatedTransactions(_ transactions: [SKPaymentTransaction]) {
		transactions.forEach { transaction in
			switch transaction.transactionState {
			case .restored: SKPaymentQueue.default().finishTransaction(transaction)
			default: break
			}
		}
		self.products = transactions.map { $0.payment.productIdentifier }
	}

	func restoreFinished() {