Post

Replies

Boosts

Views

Activity

Transactions for many auto-renewal subscription products
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?
0
0
472
Nov ’20
NSURLErrorDomain is not returned.
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?
1
0
511
Sep ’20
How to synchronize transactions?
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.
0
0
504
Aug ’20