Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

In my In App purchase the case SKPaymentTransactionStateRestored: method does not get called when the purchase is restored, instead, case SKPaymentTransactionStatePurchased: is being called, but would like to show the user different information, when the purchase is restored.

like image 552
JonasG Avatar asked Jul 24 '11 12:07

JonasG


1 Answers

[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.

like image 190
Bora Avatar answered Sep 28 '22 01:09

Bora