- (void)paymentQueue:(SKPaymentQueue*)queue updatedTransactions:(NSArray*)transactions gets called multipletimes
Hello All,
Currently I am working with an iPad app having auto renewable subscriptions. App Provides three types of sub subscriptions Monthly, Quarterly and Yearly.
Currently I am testing the app with Sandbox environment. So if I purchase monthly package, it will be renewed after 5 mins (As per apple documentation monthly subscription will be renewed after 5 mins, Quarterly after 15 mins.....)
Here first I purchase Monthly package so it should get renewed after 5 mins. After that I keep the app ideal, I do not do any activity in app. After that when I restart the app from Xcode 6.0.1, it goes to - (void)paymentQueue:(SKPaymentQueue*)queue updatedTransactions:(NSArray*)transactions to renew the subscriptions around like 99 times, 93 times, 70 times not a specific digit. The above method is called that many times and I am getting that number of transactions in array parameter of that method and for each transaction I am getting the transaction Purchased.
Can any one please tell me why is this happening?
Please see below screenshot which shows me 93 transactions within 12-15mins duration. Even if I delete the application from device, remove test apple id from settings and restart the iPad and again install the app shows me the the same number of transactions.
The above 93 transactions show me within 15 min duration only and one more interesting that it happens sometimes only and once it happens the until n unless I execute the code it does not allow me to surf any features, let then after I uninstall the app and restart app. On Again installation also there is same situation.
Can you please guide me what is the issue?
Thank You in advance.
iPad Mini, iOS 8.0.2