Testing iOS recurring subscription purchases
Does anyone know how to test subsequent subscription notifications from StoreKit with recurring subscriptions? I've tested that the first purchase works correctly but I want to test that I'm handling th开发者_JAVA技巧ings correctly once the 2nd month's transaction has been generated and sent to my application.
I found the answer here: Do auto-renewable subscriptions send an SKPaymentTransactionStatePurchased transaction when they auto-renew?
paymentQueue:updatedTransaction: will get called with SKPaymentTransactionStateRestored
精彩评论