I am providing Restore Functionality for Non-Consumable Products. When I click on to Restore it prompts the SignIn alert, I use the Existing Apple Id for SignIn, after entering UserId and Password and taps on Ok then SignIn Alert Prompted once again.
Why it's prompted again once I entered user details?
EDIT: Restore Process Code:
-(void)RestorePurchasedItems
{
[[SKPaymentQueue defaultQueue] addTransactionObserver:self];
[[SKPaymentQueue defaultQueue] restoreCompletedTransactions];
}
- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions
{
NSLog(@"=======%@",transactions);
}
- (void)paymentQueue:(SKPaymentQueue *)queue restoreCompletedTransactionsFailedWithError:(NSError *)error
{
if (error.code == SKErrorPaymentCancelled) {
}
}
- (void)paymentQueueRestoreCompletedTransactionsFinished:(SKPaymentQueue *)queue
{
NSMutableArray* purchasableObjects = [[[NSMutableArray alloc] init] autorelease];
for (SKPaymentTransaction *transaction in queue.transactions)
{
NSString *productID = transaction.payment.productIdentifier;
[purchasableObjects addObject:productID];
}
self.OnSuccessRestored(purchasableObjects); //Block Call to access the products
}
Don't Know what happened with iTunes connect issue gone away magically :) :)