Posts

Post not yet marked as solved
0 Replies
392 Views
We are currently testing the restoration of auto-renewal subscription products (1 month) in a sandbox environment. Restoration is implemented by executing restoreCompletedTransaction () . However, when a transaction is restored, it also includes items that have expired in the past, and depending on the status of contract renewal, nearly 100 transactions will be returned. So, finishTransaction() is called for nearly 100 transactions, but it takes an enormous amount of time for all transactions to be deleted. Until the transaction disappears, even if you make a purchase processing request, you will have to wait, which will make users feel very uncomfortable. So I have a question. Is there a limit to the number of transactions that can be restored? Will expired products remain forever? Or will it disappear in a month or half a year? If the more I update, the more transactions I have, I have to call the finishTransaction() every time I restore, is that okay?
Posted
by TAKAMITSU.
Last updated
.
Post not yet marked as solved
0 Replies
397 Views
https://developer.apple.com/documentation/storekit/skerrorcode/skerrorpaymentinvalid?language=objc Under what circumstances does this error occur? How can I reproduce it? The content of the document does not explain it !
Posted
by TAKAMITSU.
Last updated
.
Post not yet marked as solved
0 Replies
295 Views
Hello. (void) paymentQueue: (SKPaymentQueue *) queue updatedTransactions: (NSArray *) transactions When this function is called, the elements of transactions are [[SKPaymentQueue DefaultQueue] transactions]; Is it included in this element as well? And is the content equal (A === B)? Is it equivalent (A == B)?
Posted
by TAKAMITSU.
Last updated
.
Post not yet marked as solved
1 Replies
383 Views
https://developer.apple.com/documentation/storekit/handling_errors?language=objc The official document says: In case of network error as a result of request, NSURLErrorDomain is returned. However, when I tried it in airplane mode (non-communication), SKErrorDomain was returned. restoreCompletedTransactions The result is different from the document. This is not intended. Does anyone have a similar problem?
Posted
by TAKAMITSU.
Last updated
.
Post not yet marked as solved
0 Replies
397 Views
If communication is interrupted during the purchase process The transaction will return a "failed" status It may be "successful" on Apple servers. As a result, the transaction status Differences occur between Apple servers and devices. At this time, in order to eliminate this gap immediately I ran restoreCompletedTransactions() You will be asked for a password This method gives users a sense of distrust. It seems to be useless. Is there another way to sync transaction differences immediately? Thank you.
Posted
by TAKAMITSU.
Last updated
.