I want to receive a message so that I can show a “Processing…” overlay while the app is communicating with the App Store to complete the In App Purchase. Is there a callback that will fire only once the user has entered their credentials so that I’m not showing the “Processing…” behind the UIAlertView?
Share
Turns out there is a callback for exactly this, I just missed it. The
SKPaymentTransactionObserver‘s methodpaymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactionswill get called whenever the transaction state changes, including when it changes toSKPaymentTransactionStatePurchasing, so you can do something like this: