ios - What to do with all transactions after - (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions? -


i've implemented method handle transactions , think it's being called correctly. finish transaction when fails or completed or restored.

but why keep receiving of transactions, including ones have been handled? should latest 1 , ignore others?

i've seen examples of code handle this, loop through of transactions, doesn't make sense me.

other details:

  • i'm working auto-renewable subscriptions
  • i noticed behaviour in sandbox environment. make difference?
  • it takes long method called after invoking - [skpaymentqueue restoresubscription]

apple's design send transaction array isn't without reason. description means skipping of them now, or initiated before code finishing them up.

another possibility getting them previous user in case can't about.


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -