views:

97

answers:

1

whats going on here programmers, apple released the storekit and we cannot even get any callbacks for the cancel event when a user puts in his/her email and password for

[[SKPaymentQueue defaultQueue] restoreCompletedTransactions]

. DO NOT GET THIS CONFUSED with pushing cancel when cancelling a purchase, this is pushing cancel when trying to restore transactions. there are no call backs for a user pushing cancel, or even pushing the ok button. The only call back you get is when the informaiton from the server comes back indicating if it was successful or not. Unacceptable. please if anyone has an answer please, answer. thank you

A: 

Try this one:

@protocol SKPaymentTransactionObserver <NSObject>

....

@optional

// Sent when an error is encountered while adding transactions from the user's purchase history back to the queue.
- (void)paymentQueue:(SKPaymentQueue *)queue restoreCompletedTransactionsFailedWithError:(NSError *)error __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_0);


@end
Adri