Storage transaction failed

I am trying to test a Store Kit transaction with an iPhone 3.0 SDK. I base my code on a sample code in the storeโ€™s Programming Guide, but I continue to receive failed transactions (status: SKPaymentTransactionStateFailed). However, the transaction error property is zero, so this does not shed light on the situation.

When I try to purchase a product, I can log in with a test account and accept the purchase, but then I get a dialog box that says:

"You already bought this, but it has not been downloaded. Click" OK "to download it now."

When I click "OK" nothing happens. My transaction server does not receive any more messages sent to it.

+3
source share
5 answers

I had the same problem with supplies. It turns out the above answer was correct. My teammate accidentally deleted my test account. Everything works fine after I created a new one.

+4
source

As it turned out, my test account was deleted from iTunes Connect (although it allowed me to log in). I created a new test account and started working. I believe that the โ€œClick OK to Download Nowโ€ message was actually an attempt to restart the transaction, which would then complete again.

0
source

, , ( Apple , ). , .

@wdlindmeier: , : , -.:)

0

Ive , SKPaymentTransactionObserver.

, SKPaymentTransactionObserver , . SKPaymentTransactionObserver, . , , SKPaymentTransactionObserver.

, , SKPaymentTransactionObserver , , . "" - .

, .

0

. , !

0

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


All Articles