In my iPhone app, I implemented inAppPurchase, so user can purchase products in app. It's live on itunes app store. I tested it well with sandbox where any credit card verification page was not displayed. On live when user try to buy something it goes on app store from my app to approve his/her information.

When user pass all process, and open my app again from background.

Above msg prompt to user which I wrote in my failedTransaction in -(void) paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions method. This method is below:
-(void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions
{
for(SKPaymentTransaction *transaction in transactions)
{
switch (transaction.transactionState)
{
case SKPaymentTransactionStatePurchased:
[self completeTransaction:transaction];
break;
case SKPaymentTransactionStateFailed:
[self failedTransaction:transaction];
break;
default:
break;
}
}
}
Can anyone guide me what is going wrong?