SKPaymentTransactionStateRestored doesn't get called when In App purchase is being restored

前端 未结 4 1299
抹茶落季
抹茶落季 2021-02-15 11:09

In my In App purchase the case SKPaymentTransactionStateRestored: method does not get called when the purchase is restored, instead, case SKPaymentTransaction

4条回答
  •  时光取名叫无心
    2021-02-15 11:31

    [queue restoreCompletedTransactions] will trigger SKPaymentTransactionStateRestored state, where queue is SKPaymentQueue. You should not expect this to be called after your user confirms transactions. Instead user would be warned by the device if he had already purchased the product.

提交回复
热议问题