What if SKPaymentTransactionState is SKPaymentTransactionStatePurchasing?

I integrate inApp into my application when I try to buy a product using a Sandbox user. I get the status "SKPaymentTransactionStatePurchasing". What should I do?. I was able to purchase the same product before

+4
source share
1 answer

SKPaymentQueuegets a little different transactionState. And SKPaymentTransactionStatePurchasingjust notifies your app that iTunes is making a purchase. You can usually just ignore this if you don't want to display something to the user at the time of purchase.

You are more interested in the state SKPaymentTransactionStatePurchasedthat starts after the purchase is completed.

+3

Source: https://habr.com/ru/post/1612393/


All Articles