Search results for

“restore purchases”

22,021 results found

Post

Replies

Boosts

Views

Activity

Reply to Offer in-app purchase before account creation process
A user who purchases an IAP will have an original_transaction_id (from the receipt) that will be the same across all devices that download that app and restore that IAP under that user's AppleID. The original_transaction_id is the same as the value for transaction.originalTransaction.transactionIdentifier in a call to updatedTransactions after a restoreCompletedTransactions.
Topic: App & System Services SubTopic: StoreKit Tags:
Jul ’18
Reply to When Users with old IAP Auto-Renewing Subscription (currently in Cancelled/Unsubscribed State), upon “Renewal"/Re-purchase (from a new device), does StoreKit upon purchased state send a receipt?
Greetings,I just had this user download my latest App's update that went Ready for Sale, today 12/30/2018 on their new device which implements restoreCompletedTransactions for Restore Subscription, and they got the same result! The exact steps they took were:1. From App they did a Buy of the Auto-renew Subscription, and they received the expected StoreKit's pop ups, that confirm the purchase and ended with You're All Set.2. The Receipt Validation did NOT unlock content.3. They press Restore Subsubscription button that executes restoreCompletedTransaction method to refresh-on a new device.4. Their Receipt Validation still did NOT unlock content. I suspect the Latest Receipt's transaction's 1708 field must not be present for this user, why????5. User then checks the new device's Setting, ITunes & App Store, View Apple ID, Subscriptions, Your Subscriptions-Options and confirms Auto-Renew Subscription they just purchased was completed succesfully and is Checkmarked.6. Then
Topic: App & System Services SubTopic: StoreKit Tags:
Dec ’18
Restored non-consumable products missing from appStoreReceiptURL
Hello everyone,I'm restoring some non-consumable products, then doing a SKRefreshReceiptRequest, then looking into the contents of [[NSBundle mainBundle] appStoreReceiptURL].I see transactions being restored as expected but the receipt I get only has 1 in-app purchase instead of the 20-ish I expect to see. Is this normal behavior? How should I validate my restored products on a server?
5
0
2.1k
Mar ’19
I am not able to restore the system
I am following the instruction on Restoring Developer Transition Kit to restore it (because my Xcode installation is broken). When I select the Restore on Apple Configurator in the step 4, it fails with the following error. The operation couldn’t be completed. (AMRestoreErrorDomain error 10 - Failed to handle message type StatusMsg) [AMRestoreErrorDomain – 0xA (10)]
1
0
3k
Oct ’20
InApp purchase get stuck in paymentQueue purchasing status.
Some of my users reported they can not completed the purchase . According to the logs and screen captures . Their purchase progress's last status are purchasing func paymentQueue(_ queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction]) { .... .... case .purchasing: // 处理正在购买的情况 //print(购买中); AppDelegate.log.debug(paymentQueue purchasing); LoadingAlert.shared.setText(text: 购买中.localized()) .... After this ,It neither entered any error branch nor prompted the user to confirm the purchase or enter a password, but simply stopped here. There are no other purchase-related logs, and the program is still running normally. At the same time, other users are able to complete their purchases without any issues. However, there have been 4-5 users recently who reported problems with purchasing. What could be the possible reasons? In my local environment, I repeated the test many times, including using sandbox users fr
1
0
395
Feb ’25
Reply to Non-renewing subscriptions: Purchasing multiple times
Ok I finally fgured out what was going on. I had previously purchased that item, but in testing had not call `SKPaymentQueue.default.finishTransaction(t)` on that. So apparently, untile the transaction is finished, users won't be able to purchase it again... Which makes sense.After I saw this, I also noticed that StoreKit doesn't call the restore handler in this case, which would be ideal cos it's supposed to handled exactly cases like this.
Topic: App & System Services SubTopic: StoreKit Tags:
Mar ’17
Reply to Why Non-Consumable product has originalTransactionId?
If the user has multiple devices, or restoreCompletedTransactions is called, new transaction ids will be created. However the underlying purchase, and therefore the original transaction id for a non-consumable, is still the same. In Original StoreKit transaction ids are per-device and can be restored, meaning both non-consumables and auto-renewing subscription transactions will have this multiple-transaction id per underlying purchase property.
Topic: App & System Services SubTopic: StoreKit Tags:
Aug ’23
State Restoration
I've been working through the state restoration example Apple has online. I'm successfully able to encode data but am having difficulties decoding the json file. I've put print statements in my decoding functions, and none of them appear to be firing. I'm working on a watch/phone app, and when the message is sent to the phone, it populates a textView to allow userEditing of the data. Upon receiving the message from the watch, the message is encoded. After appropriately populating this text field and leaving the app, my iOS program is not decoding upon entering foreground or will appear or did appear. Does anyone have a straightforward and simple example of successfully decoding data from json and repopulating a text field? I feel as though I'm wading through a lot of weeds with the state restoration project for what I'm trying to accomplish (new to programming if this is a laughable statement). My other question is, how does state restoration coincide with user kill? It's obviously
1
0
412
Dec ’20
how to update without doing a restore
I want to update my Apple TV to the 9.1 beta. But I do not want to have to restore (wipe) my device. Is it possible to do an update isntead of a restore? I am NOT going to go through entering all those passwords again. That sucked.When I connect my Apple TV to my computer, I can see a Restore button in iTunes. But I don't see an Update button?
2
0
684
Nov ’15
Do restored transaction get stored in the local receipt file?
Context/intro: We are running into a situation where a subset of our users are complaining that they need to frequently restore their purchases because the app seems to forget some non-consumable purchases. Our app uses the local receipt as the source of truth, however it restores transactions via restoreCompletedTransactions() so a restored transaction will fire the same app-specific logic that would get fired after a purchase. One theory we have is that the restored transactions do not automatically make their way into the receipt, so these transactions are not persisted. If that's true, refreshing the receipt (via SKReceiptRefreshRequest), along with restoreCompletedTransactions() would make sure the receipt is updated as well whenever the user decides to restore. My question: do transaction restored via restoreCompletedTransactions() make their way into the receipt file?
1
0
771
Oct ’22
Reply to Handling pending consumable transaction
Not quite. There was only one change of state to purchased and that happened soon after the customer chose to purchase. But the point is that at that moment the purchase was not actually confirmed, it was only pending. It was 9 hours later when the transaction changed from pending to confirmed. That is the moment when it would be reasonable to expect the app payment queue to receive the notification rather than when it did.As per recommended practice, I'm calling finishTransaction only for purchased/failed/restored states (although restored isn't applicable anyway for consumables). I'm aware that the inapp data only contains unfinished purchases (which is why it is useful for adding the purchase to an online account) but I can see there is a timing risk if Apple's server doesn't respond instantly. Since the app finishes the transaction when it receives the 200 OK response from my server, that could possibly cause that purchase to
Topic: App & System Services SubTopic: StoreKit Tags:
Nov ’19
Reply to Sandbox in app purchases not working
This is really weird. It seems my sandbox in app purchases are working when I test on my iPad but don't work when I try on my iPhone? Seems more like a device issue. Would a simple iOS restore from backup possibly fix this issue?
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
May ’20
Reply to How do I determine if a user has never suscribed?
I used that logic because according to documentation SKReceiptRefreshRequest is used if the receipt is invalid or MISSING, and restoreCompletedTransactions is used to restore previously purchased IAPs. So is receipt refresh to only be used when the receipt is invalid?Thanks for the answer on in_app!
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
May ’18
Reply to Offer in-app purchase before account creation process
A user who purchases an IAP will have an original_transaction_id (from the receipt) that will be the same across all devices that download that app and restore that IAP under that user's AppleID. The original_transaction_id is the same as the value for transaction.originalTransaction.transactionIdentifier in a call to updatedTransactions after a restoreCompletedTransactions.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jul ’18
Reply to When Users with old IAP Auto-Renewing Subscription (currently in Cancelled/Unsubscribed State), upon “Renewal"/Re-purchase (from a new device), does StoreKit upon purchased state send a receipt?
Greetings,I just had this user download my latest App's update that went Ready for Sale, today 12/30/2018 on their new device which implements restoreCompletedTransactions for Restore Subscription, and they got the same result! The exact steps they took were:1. From App they did a Buy of the Auto-renew Subscription, and they received the expected StoreKit's pop ups, that confirm the purchase and ended with You're All Set.2. The Receipt Validation did NOT unlock content.3. They press Restore Subsubscription button that executes restoreCompletedTransaction method to refresh-on a new device.4. Their Receipt Validation still did NOT unlock content. I suspect the Latest Receipt's transaction's 1708 field must not be present for this user, why????5. User then checks the new device's Setting, ITunes & App Store, View Apple ID, Subscriptions, Your Subscriptions-Options and confirms Auto-Renew Subscription they just purchased was completed succesfully and is Checkmarked.6. Then
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Dec ’18
Restore Problem. Help!!
Hi, can't restore my iphone 5S back to 9.3.2Now I'm stuck in DFU mode. Always shows error (47) when attempting to restore firmware.Please anyone help me.....
Replies
0
Boosts
0
Views
115
Activity
Jul ’16
Restored non-consumable products missing from appStoreReceiptURL
Hello everyone,I'm restoring some non-consumable products, then doing a SKRefreshReceiptRequest, then looking into the contents of [[NSBundle mainBundle] appStoreReceiptURL].I see transactions being restored as expected but the receipt I get only has 1 in-app purchase instead of the 20-ish I expect to see. Is this normal behavior? How should I validate my restored products on a server?
Replies
5
Boosts
0
Views
2.1k
Activity
Mar ’19
Apple Store processes the In-App purchase but in app array is empty in the restore process
Hello,Recently we had a few user reporting IAP content (subscription) was not delivered in app. They have paid and IAP content was displayed in the iTunes subscriptions, but, the transaction is missing from in_app array, in the restore.What may be wrong?
Replies
3
Boosts
0
Views
518
Activity
Apr ’16
I am not able to restore the system
I am following the instruction on Restoring Developer Transition Kit to restore it (because my Xcode installation is broken). When I select the Restore on Apple Configurator in the step 4, it fails with the following error. The operation couldn’t be completed. (AMRestoreErrorDomain error 10 - Failed to handle message type StatusMsg) [AMRestoreErrorDomain – 0xA (10)]
Replies
1
Boosts
0
Views
3k
Activity
Oct ’20
InApp purchase get stuck in paymentQueue purchasing status.
Some of my users reported they can not completed the purchase . According to the logs and screen captures . Their purchase progress's last status are purchasing func paymentQueue(_ queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction]) { .... .... case .purchasing: // 处理正在购买的情况 //print(购买中); AppDelegate.log.debug(paymentQueue purchasing); LoadingAlert.shared.setText(text: 购买中.localized()) .... After this ,It neither entered any error branch nor prompted the user to confirm the purchase or enter a password, but simply stopped here. There are no other purchase-related logs, and the program is still running normally. At the same time, other users are able to complete their purchases without any issues. However, there have been 4-5 users recently who reported problems with purchasing. What could be the possible reasons? In my local environment, I repeated the test many times, including using sandbox users fr
Replies
1
Boosts
0
Views
395
Activity
Feb ’25
Reply to Non-renewing subscriptions: Purchasing multiple times
Ok I finally fgured out what was going on. I had previously purchased that item, but in testing had not call `SKPaymentQueue.default.finishTransaction(t)` on that. So apparently, untile the transaction is finished, users won't be able to purchase it again... Which makes sense.After I saw this, I also noticed that StoreKit doesn't call the restore handler in this case, which would be ideal cos it's supposed to handled exactly cases like this.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Mar ’17
Reply to Why Non-Consumable product has originalTransactionId?
If the user has multiple devices, or restoreCompletedTransactions is called, new transaction ids will be created. However the underlying purchase, and therefore the original transaction id for a non-consumable, is still the same. In Original StoreKit transaction ids are per-device and can be restored, meaning both non-consumables and auto-renewing subscription transactions will have this multiple-transaction id per underlying purchase property.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Aug ’23
State Restoration
I've been working through the state restoration example Apple has online. I'm successfully able to encode data but am having difficulties decoding the json file. I've put print statements in my decoding functions, and none of them appear to be firing. I'm working on a watch/phone app, and when the message is sent to the phone, it populates a textView to allow userEditing of the data. Upon receiving the message from the watch, the message is encoded. After appropriately populating this text field and leaving the app, my iOS program is not decoding upon entering foreground or will appear or did appear. Does anyone have a straightforward and simple example of successfully decoding data from json and repopulating a text field? I feel as though I'm wading through a lot of weeds with the state restoration project for what I'm trying to accomplish (new to programming if this is a laughable statement). My other question is, how does state restoration coincide with user kill? It's obviously
Replies
1
Boosts
0
Views
412
Activity
Dec ’20
how to update without doing a restore
I want to update my Apple TV to the 9.1 beta. But I do not want to have to restore (wipe) my device. Is it possible to do an update isntead of a restore? I am NOT going to go through entering all those passwords again. That sucked.When I connect my Apple TV to my computer, I can see a Restore button in iTunes. But I don't see an Update button?
Replies
2
Boosts
0
Views
684
Activity
Nov ’15
Do restored transaction get stored in the local receipt file?
Context/intro: We are running into a situation where a subset of our users are complaining that they need to frequently restore their purchases because the app seems to forget some non-consumable purchases. Our app uses the local receipt as the source of truth, however it restores transactions via restoreCompletedTransactions() so a restored transaction will fire the same app-specific logic that would get fired after a purchase. One theory we have is that the restored transactions do not automatically make their way into the receipt, so these transactions are not persisted. If that's true, refreshing the receipt (via SKReceiptRefreshRequest), along with restoreCompletedTransactions() would make sure the receipt is updated as well whenever the user decides to restore. My question: do transaction restored via restoreCompletedTransactions() make their way into the receipt file?
Replies
1
Boosts
0
Views
771
Activity
Oct ’22
Reply to Handling pending consumable transaction
Not quite. There was only one change of state to purchased and that happened soon after the customer chose to purchase. But the point is that at that moment the purchase was not actually confirmed, it was only pending. It was 9 hours later when the transaction changed from pending to confirmed. That is the moment when it would be reasonable to expect the app payment queue to receive the notification rather than when it did.As per recommended practice, I'm calling finishTransaction only for purchased/failed/restored states (although restored isn't applicable anyway for consumables). I'm aware that the inapp data only contains unfinished purchases (which is why it is useful for adding the purchase to an online account) but I can see there is a timing risk if Apple's server doesn't respond instantly. Since the app finishes the transaction when it receives the 200 OK response from my server, that could possibly cause that purchase to
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Nov ’19