Search results for

“restore purchases”

22,012 results found

Post

Replies

Boosts

Views

Activity

Does repurchasing non-consumable items have the same effect as restoration?
I have a question about Apple in-app purchases. If a user purchases a non-consumable item that has already been purchased again instead of restoring it, does the same effect as the restoration occur, or does a new payment incur expenses for consumers? The app has a restore button and a process to restore. There are users who sometimes fail to restore, and I am thinking of guiding them to purchase again if the repurchase has the same effect as the restoration.
2
0
947
Sep ’22
'restoration class'
I have an app with multiple tableview controllers that are displaying their data via core data via a push segue. Each navigation controller and its corresponding tableview controller has 'Restoration ID' string inside of the storyboard.Am I correct in assuming that Xcode does to require a 'restoration class' via code because none of the tableview controllers are created in code? Under which conditions do I need to establish a 'restoration class', like self.restorationClass = [self class];Thank you for your time and response!
0
0
263
Feb ’16
Reply to Subscriptions and iTunes account change
When the user changes their iTunes account they are a 'different' user. The different user did not make the original purchase (of the IAP or the app) and therefore can't change their subscription (or restore their IAPs). This inability prevents a user from purchasing a non-consumable IAP and going from device to device (of all their friends), logging into their iTunes Account, restoring the purchase and then logging out of their iTunes Account. How does it know the account has been changed? Is it because the receipt of the new purchase does not agree with the previous receipt? It is because StoreKit has access to the iTunes Apple ID of the user and recognizes that it is different.I would like to prevent the error by blocking users from changing subscription plans if a different account is used. How can I know that a different account is used? I don't think you can. That is Apple's information and I think you can't get it from the system. But the user usual
Topic: App & System Services SubTopic: StoreKit Tags:
Nov ’19
Reply to Generic In-app purchases for multiple contents
I am trying to understand nuances of exactly the same issue as M-S with a digital currency being used to buy assets such as card templates. The good news from a design is that, from conversations with users and Apple employees, most people are fine with the idea of a digital currency for such in a non-game context. Technically, I'm still confused and think there are some missing pieces. Assuming your currency is a consumable, because that's the only IAP model that makes sense for topping up a balance: The App Store Review Guidelines says: 3.1 Payments ... 3.1.1 In-App Purchase: Any credits or in-game currencies purchased via in-app purchase may not expire, and you should make sure you have a restore mechanism for any restorable in-app purchases. 3.1.2 Subscriptions … 3.1.2(a) Permissible uses: Subscriptions may include consumable credits, gems, in-game currencies We seem to have an obligation but no supported method or helper tools. Apple feedback 2022-12
Topic: App & System Services SubTopic: StoreKit Tags:
Dec ’22
Restoring Promo Code transaction
HiWe already set up the iTunes Connect for promo codes.There are promocodes that will give you for example (100 gems when you enter this code)But the user enters the promo code when purchasing the app. the app behaves just as it would if it had been purchased.1) My question is how can i determined that he purchased the app using promocode?2) Also how can i restor his transaction that he already used this promo code?What framework should i used. StoreKit?,SKPaymentQueue?.Btw i try this code but no luck..-(void)checkTransactions{ [[SKPaymentQueue defaultQueue] restoreCompletedTransactions]; } #pragma mark - StoreKit Observer - (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions { for (SKPaymentTransaction *transaction in transactions) { switch (transaction.transactionState) { case SKPaymentTransactionStatePurchased: { / / NSLog(@>>>>>>>>> %lu,(unsigned long)transactions.count); [[SKPaymentQueue defaultQueue]finishT
16
0
6.6k
Nov ’16
How I restore the complete reciept for this app.?
Hi All,We have two items, both are non-consumable. And to avoid this to be restored in other app account.Upon purchased we grab the receipt from appStoreReceiptURL and send it our server for validation and saving the original_transaction_id for refference, that this item belongs to this user.But, upon restoring purchased the receipt only retrieve the latest item purchase.How can I restore the complete reciept for this app.?First time restoring.{ receipt: { receipt_type: ProductionSandbox, adam_id: 0, app_item_id: 0, bundle_id: com.sample.app, application_version: 1.1.2, download_id: 0, version_external_identifier: 0, receipt_creation_date: 2019-02-18 06:00:50 Etc/GMT, receipt_creation_date_ms: 1550469650000, receipt_creation_date_pst: 2019-02-17 22:00:50 America/Los_Angeles, request_date: 2019-02-19 07:46:15 Etc/GMT, request_date_ms: 1550562375625, request_date_pst: 2019-02-18 23:46:15 America/Los_Angeles, original_purchase_date: 2013-08-01 07:00:00 Etc/GMT, origin
6
0
1.3k
Feb ’19
Reply to Regarding Restore Purchase for In App Purchases
For any app which runs in the sandbox, there is never an appStoreReceipt at first launch after the app has been installed via Xcode, TestFlight (or in App Review). Many apps implement the SKReceiptRefreshRequest method to have the app implement a provisional appStoreReceipt for this case. In App Review, when there is the resulting Authentication dialog, the reviewer will always cancel the dialog and the app needs to handle this case. There is no requirement in the App Store Guidelines that there be an appStoreReceipt present before the first purchase is made. As I understand, App Review will check that user can restore previous purchases and will look for a Restore button after re-installing the app. Many StoreKit implementations have a tiny restore button below the BUY IT NOW button. Pressing restore causes the app to make the restoreCompletedTransactions call - which will result in the updatedTransactions delegate called with the .restore transa
Feb ’22
Reply to Option to have user to choose purchase type
Yes you can have two options.You may want to sell the individual issues not as individual non-consumable IAPs but rather as exchangeable items for a consumable 'currency'. The user buys, let's say, 5 credits. The user can use each of those 5 credits to purchase an different issue from a set of many many issues. In this case you will need to add a 'restore' function to the issues obtained in exchange for the use of consumable 'credits' because the issue is really durable (aka non-consumable), not consumable. This restore finction could be implemented through the user's iCloud key-value file or your own webserver. You will need to make a note to App Review that the purchased issues are restoreable (even though the credits are consumable) through your mechanism.
Topic: App & System Services SubTopic: StoreKit Tags:
Sep ’15
Reply to iOS 15 affecting in-app purchases
I'm getting a steadily increasing number of user complaints about restore of in-app purchases failing. (I have 2 apps and complaints are about both) I've done a deep dive into their in-app digital receipt bundle and these seem to be missing past purchases. Hasn't this problem been fixed or is likely to be a new one?
Topic: App & System Services SubTopic: StoreKit Tags:
Jun ’22
Reply to Constant reboots on a 6s with 9.1 public B2
Had the exact same issue. Upon purchase immediately installed public beta 2 so I could restore from backup. Immediately went into re-boots after about 10-30 sec. I then downloaded the dev 9.1 and did a complete restore. This allowed me to restort my 9.1 backup but after restore would just reboot constantly. Finally had to take my old phone down to 9.0.1, backup on iTunes, restore the 6s to 9.0.1 and restore from that backup. Note that the restore was missing about 20% of my apps and I had to re-download from the App Store BUT the wierd thing was that my data was then there in the restored apps. I guess the restore created the Documents directory in some un-populated app bundle which the app store download restored? or maybe the app store download just re-connected the app bundle to Springboard. Not sure which and at this point don' care 🙂
Topic: App & System Services SubTopic: Core OS Tags:
Sep ’15
Reply to In-App Purchase restore fails in iOS 9
hi, we are experiencing similar problems with our app. We went live 2 1/2 weeks ago and the in app purchases are not working. We paid a developer to build our app, we ourselves have no idea about coding etc. what we are finding, the in app purchases are being deemed as successful, but then the user is not receiving the upgrades. We have four devices, iPad 4, ipad Air and 2 iPhone 6's all with iOS 9.1, we have family sharing on all devices, we have ourselves tried to purchases the upgrades using our own devices. Initially none of the devices received the upgrades, however restoring the purchases (several attempts) finally worked on the iPad 4, so we have the full upgrade on that device, however we cannot get it on any of our other devices. It's telling us the purchase has already been made and will be restored for free, but it's not restoring on the other three devices.... which again have family sharing... This is very frustrating as we a
Topic: App & System Services SubTopic: StoreKit Tags:
Nov ’15
Reply to SKPaymentTransaction.restored VS paymentQueueRestoreCompletedTransactionsFinished
After a call to restoreCompletedTransactions you will get a call back to updatedTransactions with Restored for each purchase of the autorenewable subscription (e.g. original purchase and every month it was renewed or, if there was no purchase, no calls to updatedTransactions). After those calls (if any) you will get a call to theFunction (or to the failed function if there was a problem restoring the transactions - like the user failed to enter the correct password). You always get a call to theFunction (or the failed function) whether or not there are transactions to complete.> can I use this to display an alert stating that they haven't susribed before?Yes>How do you display to the customer that they haven't suscribed before? Use a UIAlertController with something like: I am sorry but the App Store has no record of a purchase of an autorenewable subscription under your iTunes Account. Please tap subscribe if you wish to purchase an autoren
Topic: App & System Services SubTopic: StoreKit Tags:
Feb ’18
Reply to In-app purchases are not transferring from Mac to iOS App Stores
Correct, universal apps do allow a single app and set of in-app purchases. Thank you for filing the ticket. But to investigate further we will need additional information such as the app name, ID, bundle ID, in-app purchase id's and ideally example apple ID's that experienced this problem. If you are able to reproduce, a sysdiagnose would be great too. From there we should then have enough to investigate. Meanwhile we would recommended considering implementing our Proactive Restore best practice as this process means your app can restore service to customers automatically without any action by the customer. https://developer.apple.com/videos/play/wwdc2022/110404/
Topic: App & System Services SubTopic: StoreKit Tags:
Oct ’22
updatedTransactions is not called on restore.
Many our customer are facing a problem on restore process.- They bought several in-app purchase products.- In some case they need to restore products to download contents from Apple server.- We're of course offering restore function in which we use SKPaymentQueue restoreCompletedTransactions.- Restore transaction is finished immediately after customers push the restore button.- From my investigation, paymentQueueRestoreCompletedTransactionsFinished is called, but updatedTransactions is not called.- Actually there is no transaction in the queue when paymentQueueRestoreCompletedTransactionsFinished is called although they have bought products and have a valid receipt.- So there is no transaction to restore, and updatedTransactions is not called. I cannot get any SKDownload objects. That's why we cannot download any contents from Apple server.I spent many days to find a solution in the web, and found many developers had a similar problem with the san
3
0
3.8k
Oct ’15
Does repurchasing non-consumable items have the same effect as restoration?
I have a question about Apple in-app purchases. If a user purchases a non-consumable item that has already been purchased again instead of restoring it, does the same effect as the restoration occur, or does a new payment incur expenses for consumers? The app has a restore button and a process to restore. There are users who sometimes fail to restore, and I am thinking of guiding them to purchase again if the repurchase has the same effect as the restoration.
Replies
2
Boosts
0
Views
947
Activity
Sep ’22
'restoration class'
I have an app with multiple tableview controllers that are displaying their data via core data via a push segue. Each navigation controller and its corresponding tableview controller has 'Restoration ID' string inside of the storyboard.Am I correct in assuming that Xcode does to require a 'restoration class' via code because none of the tableview controllers are created in code? Under which conditions do I need to establish a 'restoration class', like self.restorationClass = [self class];Thank you for your time and response!
Replies
0
Boosts
0
Views
263
Activity
Feb ’16
Reply to Subscriptions and iTunes account change
When the user changes their iTunes account they are a 'different' user. The different user did not make the original purchase (of the IAP or the app) and therefore can't change their subscription (or restore their IAPs). This inability prevents a user from purchasing a non-consumable IAP and going from device to device (of all their friends), logging into their iTunes Account, restoring the purchase and then logging out of their iTunes Account. How does it know the account has been changed? Is it because the receipt of the new purchase does not agree with the previous receipt? It is because StoreKit has access to the iTunes Apple ID of the user and recognizes that it is different.I would like to prevent the error by blocking users from changing subscription plans if a different account is used. How can I know that a different account is used? I don't think you can. That is Apple's information and I think you can't get it from the system. But the user usual
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Nov ’19
Reply to Generic In-app purchases for multiple contents
I am trying to understand nuances of exactly the same issue as M-S with a digital currency being used to buy assets such as card templates. The good news from a design is that, from conversations with users and Apple employees, most people are fine with the idea of a digital currency for such in a non-game context. Technically, I'm still confused and think there are some missing pieces. Assuming your currency is a consumable, because that's the only IAP model that makes sense for topping up a balance: The App Store Review Guidelines says: 3.1 Payments ... 3.1.1 In-App Purchase: Any credits or in-game currencies purchased via in-app purchase may not expire, and you should make sure you have a restore mechanism for any restorable in-app purchases. 3.1.2 Subscriptions … 3.1.2(a) Permissible uses: Subscriptions may include consumable credits, gems, in-game currencies We seem to have an obligation but no supported method or helper tools. Apple feedback 2022-12
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Dec ’22
Restoring Promo Code transaction
HiWe already set up the iTunes Connect for promo codes.There are promocodes that will give you for example (100 gems when you enter this code)But the user enters the promo code when purchasing the app. the app behaves just as it would if it had been purchased.1) My question is how can i determined that he purchased the app using promocode?2) Also how can i restor his transaction that he already used this promo code?What framework should i used. StoreKit?,SKPaymentQueue?.Btw i try this code but no luck..-(void)checkTransactions{ [[SKPaymentQueue defaultQueue] restoreCompletedTransactions]; } #pragma mark - StoreKit Observer - (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions { for (SKPaymentTransaction *transaction in transactions) { switch (transaction.transactionState) { case SKPaymentTransactionStatePurchased: { / / NSLog(@>>>>>>>>> %lu,(unsigned long)transactions.count); [[SKPaymentQueue defaultQueue]finishT
Replies
16
Boosts
0
Views
6.6k
Activity
Nov ’16
How I restore the complete reciept for this app.?
Hi All,We have two items, both are non-consumable. And to avoid this to be restored in other app account.Upon purchased we grab the receipt from appStoreReceiptURL and send it our server for validation and saving the original_transaction_id for refference, that this item belongs to this user.But, upon restoring purchased the receipt only retrieve the latest item purchase.How can I restore the complete reciept for this app.?First time restoring.{ receipt: { receipt_type: ProductionSandbox, adam_id: 0, app_item_id: 0, bundle_id: com.sample.app, application_version: 1.1.2, download_id: 0, version_external_identifier: 0, receipt_creation_date: 2019-02-18 06:00:50 Etc/GMT, receipt_creation_date_ms: 1550469650000, receipt_creation_date_pst: 2019-02-17 22:00:50 America/Los_Angeles, request_date: 2019-02-19 07:46:15 Etc/GMT, request_date_ms: 1550562375625, request_date_pst: 2019-02-18 23:46:15 America/Los_Angeles, original_purchase_date: 2013-08-01 07:00:00 Etc/GMT, origin
Replies
6
Boosts
0
Views
1.3k
Activity
Feb ’19
Reply to Regarding Restore Purchase for In App Purchases
For any app which runs in the sandbox, there is never an appStoreReceipt at first launch after the app has been installed via Xcode, TestFlight (or in App Review). Many apps implement the SKReceiptRefreshRequest method to have the app implement a provisional appStoreReceipt for this case. In App Review, when there is the resulting Authentication dialog, the reviewer will always cancel the dialog and the app needs to handle this case. There is no requirement in the App Store Guidelines that there be an appStoreReceipt present before the first purchase is made. As I understand, App Review will check that user can restore previous purchases and will look for a Restore button after re-installing the app. Many StoreKit implementations have a tiny restore button below the BUY IT NOW button. Pressing restore causes the app to make the restoreCompletedTransactions call - which will result in the updatedTransactions delegate called with the .restore transa
Replies
Boosts
Views
Activity
Feb ’22
Reply to Option to have user to choose purchase type
Yes you can have two options.You may want to sell the individual issues not as individual non-consumable IAPs but rather as exchangeable items for a consumable 'currency'. The user buys, let's say, 5 credits. The user can use each of those 5 credits to purchase an different issue from a set of many many issues. In this case you will need to add a 'restore' function to the issues obtained in exchange for the use of consumable 'credits' because the issue is really durable (aka non-consumable), not consumable. This restore finction could be implemented through the user's iCloud key-value file or your own webserver. You will need to make a note to App Review that the purchased issues are restoreable (even though the credits are consumable) through your mechanism.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to iOS 15 affecting in-app purchases
I'm getting a steadily increasing number of user complaints about restore of in-app purchases failing. (I have 2 apps and complaints are about both) I've done a deep dive into their in-app digital receipt bundle and these seem to be missing past purchases. Hasn't this problem been fixed or is likely to be a new one?
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jun ’22
Reply to Constant reboots on a 6s with 9.1 public B2
Had the exact same issue. Upon purchase immediately installed public beta 2 so I could restore from backup. Immediately went into re-boots after about 10-30 sec. I then downloaded the dev 9.1 and did a complete restore. This allowed me to restort my 9.1 backup but after restore would just reboot constantly. Finally had to take my old phone down to 9.0.1, backup on iTunes, restore the 6s to 9.0.1 and restore from that backup. Note that the restore was missing about 20% of my apps and I had to re-download from the App Store BUT the wierd thing was that my data was then there in the restored apps. I guess the restore created the Documents directory in some un-populated app bundle which the app store download restored? or maybe the app store download just re-connected the app bundle to Springboard. Not sure which and at this point don' care 🙂
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to In-App Purchase restore fails in iOS 9
hi, we are experiencing similar problems with our app. We went live 2 1/2 weeks ago and the in app purchases are not working. We paid a developer to build our app, we ourselves have no idea about coding etc. what we are finding, the in app purchases are being deemed as successful, but then the user is not receiving the upgrades. We have four devices, iPad 4, ipad Air and 2 iPhone 6's all with iOS 9.1, we have family sharing on all devices, we have ourselves tried to purchases the upgrades using our own devices. Initially none of the devices received the upgrades, however restoring the purchases (several attempts) finally worked on the iPad 4, so we have the full upgrade on that device, however we cannot get it on any of our other devices. It's telling us the purchase has already been made and will be restored for free, but it's not restoring on the other three devices.... which again have family sharing... This is very frustrating as we a
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Nov ’15
Reply to Restoring Promo Code transaction
Hi!Does the restore of an In App purchased with a promo code work only on iOS 10? Because I tested it on an iOS 8 device, and it says that the account has no transaction to restore.Thank you.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Feb ’17
Reply to SKPaymentTransaction.restored VS paymentQueueRestoreCompletedTransactionsFinished
After a call to restoreCompletedTransactions you will get a call back to updatedTransactions with Restored for each purchase of the autorenewable subscription (e.g. original purchase and every month it was renewed or, if there was no purchase, no calls to updatedTransactions). After those calls (if any) you will get a call to theFunction (or to the failed function if there was a problem restoring the transactions - like the user failed to enter the correct password). You always get a call to theFunction (or the failed function) whether or not there are transactions to complete.> can I use this to display an alert stating that they haven't susribed before?Yes>How do you display to the customer that they haven't suscribed before? Use a UIAlertController with something like: I am sorry but the App Store has no record of a purchase of an autorenewable subscription under your iTunes Account. Please tap subscribe if you wish to purchase an autoren
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Feb ’18
Reply to In-app purchases are not transferring from Mac to iOS App Stores
Correct, universal apps do allow a single app and set of in-app purchases. Thank you for filing the ticket. But to investigate further we will need additional information such as the app name, ID, bundle ID, in-app purchase id's and ideally example apple ID's that experienced this problem. If you are able to reproduce, a sysdiagnose would be great too. From there we should then have enough to investigate. Meanwhile we would recommended considering implementing our Proactive Restore best practice as this process means your app can restore service to customers automatically without any action by the customer. https://developer.apple.com/videos/play/wwdc2022/110404/
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’22
updatedTransactions is not called on restore.
Many our customer are facing a problem on restore process.- They bought several in-app purchase products.- In some case they need to restore products to download contents from Apple server.- We're of course offering restore function in which we use SKPaymentQueue restoreCompletedTransactions.- Restore transaction is finished immediately after customers push the restore button.- From my investigation, paymentQueueRestoreCompletedTransactionsFinished is called, but updatedTransactions is not called.- Actually there is no transaction in the queue when paymentQueueRestoreCompletedTransactionsFinished is called although they have bought products and have a valid receipt.- So there is no transaction to restore, and updatedTransactions is not called. I cannot get any SKDownload objects. That's why we cannot download any contents from Apple server.I spent many days to find a solution in the web, and found many developers had a similar problem with the san
Replies
3
Boosts
0
Views
3.8k
Activity
Oct ’15