Programming for iPhone: Apple reject because of In app purchase not implement restore on newest questions tagged iphone – Stack Overflow

I got reject by apple , the message said :

… Additionally, we found that while your app offers In-App Purchase(s)
that can be restored, it does not include the required “Restore”
feature to allow users to restore the previously purchased In-App
Purchase(s), as specified in Restoring Transactions section of the
In-App Purchase Programming Guide:

“…if your application supports product types that must be
restorable, you must include an interface that allows users to restore
these purchases. This interface allows a user to add the product to
other devices or, if the original device was wiped, to restore the
transaction on the original device.”

To restore previously purchased In-App Purchase products, it would be
appropriate to provide a “Restore” button and initiate the restore
process when the “Restore” button is tapped by the user.

For more information about restoring transactions and verifying store
receipt, please refer to the In-App Purchase Programming Guide.

And I found this page , but I follow the sample code , after I call

- (void) checkPurchasedItems{
   [[SKPaymentQueue defaultQueue] restoreCompletedTransactions];
}

Another delegate is not fired !?!?

- (void) paymentQueueRestoreCompletedTransactionsFinished:(SKPaymentQueue *)queue

It only popup an alert view , to let you enter your Apple ID … and nothing happened ???

I set a break point .but just not stop as the sample said.

Any reply or answer will be great help.

Thanks

Webber

See Answers


source: http://stackoverflow.com/questions/11200460/apple-reject-because-of-in-app-purchase-not-implement-restore
Programming for iPhone: programming-for-iphone



online applications demo