Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What should we do when SKPaymentTransactionState is SKPaymentTransactionStatePurchasing?

I am integrating inApp in my application when I tried to purchase product using Sandbox user I am getting state as "SKPaymentTransactionStatePurchasing". What should I do?. I was able to purchase the same product earlier

like image 408
vineeth s thayyil Avatar asked Oct 20 '15 10:10

vineeth s thayyil


1 Answers

The SKPaymentQueue receives a few different of transactionState's. And SKPaymentTransactionStatePurchasing just notifies your app that the iTunes is making a purchase. Normally you can just ignore this unless you want to display something to the user while the purchase is in progress.

You should be more interested in SKPaymentTransactionStatePurchased state which is triggered once the purchase is complete.

like image 189
Marc Greenstock Avatar answered Nov 15 '22 03:11

Marc Greenstock