Here is the reproduce steps of issue:
- I tap the "purchase" button in my app.
- I enter the password of Apple ID.
- Apple show a dialog to confirm purchase or not. And I tap "Yes."
- Apple show a dialog to say that I have no payment information, need to complete it.
(This moment I got a transaction with state SKPaymentTransactionStateFailed in updatedTransactions: function) - I tap continue then jump to iTunes app and start to complete my credit card information.
- After complete the payment information , apple ask me to confirm purchase again.
- I tap "confirm" then the purchase is done.
(Notice that it didn't come back to my app automatically.)
Here is my questions:
- Why this flow didn't invoke the callback function I wrote when transaction with state SKPaymentTransactionStatePurchased is coming?
- The last one, do I need to finish transaction when I receive transaction with state SKPaymentTransactionStateFailed?