SKPaymentQueue addTransactionObserver asking for App Store password on startup after in-app purchase

后端 未结 14 1185
耶瑟儿~
耶瑟儿~ 2020-12-01 04:46

My app is using in-app purchases, and most of my users can purchase just fine without any problems. For these folks, my app downloads the content after the purchase succeeds

14条回答
  •  旧巷少年郎
    2020-12-01 05:30

    I had the same problem.make sure that you call

    [[SKPaymentQueue defaultQueue] finishTransaction:transaction]; 
    

    for all three states of the transactions: SKPaymentTransactionStatePurchased, SKPaymentTransactionStateRestored, SKPaymentTransactionStateFailed.

提交回复
热议问题