I'm trying to start multiple auto renewable purchase of subscriptions in once for one user, I'm curious how it is handled by Apple I append transactions like this:
func startTransactions(purchaseIDs: Array<String>) {
if (SKPaymentQueue.canMakePayments()) {
purchaseIDs.forEach { id in
let transactionRequest = SKMutablePayment()
transactionRequest.productIdentifier = id
SKPaymentQueue.default().add(transactionRequest)
}
}
}
and I have this method
func paymentQueue(_ queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction]) {
for transaction in transactions {
}
}
What i want to know if multiple SKPaymentQueue.default().add(transactionRequest)
in a row results in one transaction of does it results in multiple transactions (one per product)
Thanks in advance for your help