Search results for

“restore purchases”

22,110 results found

Post

Replies

Boosts

Views

Activity

Reply to Auto-Renewal Problem - Receipt not be updated
Thank @richThe major problem is that after restore purchased transactions, the receipt in the macOS app bundle will not be updated (checked manually and using code).The code works well on the iOS device (the receipt will be updated correctly)For the macOS app, I have to write code to save the transaction date (monitor by transactionObserver) in safe area, and write code to validate if the purchase expired. This problem was reported at beginging of this year at https://forums.developer.apple.com/message/290288#290288 and a year ago at https://forums.developer.apple.com/message/258440#258440 by other users. I thought I may made a mistake, it's hard to believe it's a bug as it's so important and so basic for the local verification of auto-renewal subscriptions. Thanks,
Topic: App & System Services SubTopic: StoreKit Tags:
Sep ’18
In App Purchase Restore Incomplete, does not match receipt
[[SKPaymentQueue defaultQueue] restoreCompletedTransactions]in the sandbox consistently returns an incomplete list of transactions. As I repeatedly restore, product ids get dropped, such that I can only restore a handful out of 20 purchased non-consumable IAPs. Even stranger is that the refreshed app receipt is correct; the list of restored transactions does not match the app recipt.Has anyone been experiencing this problem lately? This seems to be a bug with the sandbox servers, it will be good if I can get some kind of confirmation that this doesn't happen with live servers.
0
0
212
Aug ’15
Item already purchased: will restore for free - consumable purchase
I am currently testing in-apps in the sandbox and have 6 consumable products for the apps consumable currency all of which are verified consumable on itunesconnect. However even though they are set to consumable they are still being treated as a non consumable product, furthermore no delegate methods are being called after the already purchased message is shown. Any ideas?
1
0
465
Jun ’16
Reply to StoreKit2 to validate purchase of paid-app
This is what the documentation says about Transaction.all: This sequence returns the user’s transaction history current to the moment you access the sequence. The sequence emits a finite number of transactions. If the App Store processes new transactions for the user while you’re accessing this sequence, the new transactions appear in the transaction listener, updates. The transaction history doesn’t include finished consumable products or finished non-renewing subscriptions, repurchased non-consumable products or subscriptions, or restored purchases. Even after reading this, I'm not 100% sure if paid apps transactions should show up in the transaction history or not.
Topic: App & System Services SubTopic: StoreKit Tags:
Mar ’22
Reply to Restore purchases when testing IAP locally in Xcode 12
I have faced the same issue and I haven't found solution so far. The steps I follow in order to reproduce: I buy a non-consumable. I check my local transactions by navigating to Debug - StoreKit - Manage Transactions. The transaction is there. I remove the application. I do install the application again, I click into my button for restoring purchases - this button triggers restoreCompletedTransactions() from the StoreKit framework - but I receive zero transactions. If I navigate again to Debug - StoreKit - Manage Transactions, I can see there are no transactions. Apparently those transactions are linked to a specific build so as soon as you remove the application the transactions will be gone. It would be great to get any feedback from Apple. Thank you in advance.
Oct ’20
Restoring in-app purchase no longer works
I have apps that have worked for years with non-consumable in-app purchases that users could restore. Now it no longer works.I call[[SKPaymentQueue defaultQueue] restoreCompletedTransactions];In the store observer, it used to go here- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions { // never gets here for (SKPaymentTransaction *transaction in transactions) { switch (transaction.transactionState) { case SKPaymentTransactionStateRestored: // used to go here, no longer doesNow it goes here- (void)paymentQueueRestoreCompletedTransactionsFinished:(SKPaymentQueue *)queue { // goes here with [queue.transactions count] == 0I've downloaded the example code here and it has the same problem.https://developer.apple.com/documentation/storekit/in-app_purchase/offering_completing_and_restoring_in-app_purchase
5
0
2.4k
Nov ’19
In-app restore fails to get the product ID
Hi,I am developing a cross platform hybrid app, using ionic framework. In-app purchases are implemented using ionic native in-app purchase plugin.While restoring purchases,using plugin restore function, not able to get product ID of non-renewable subscription product but gets the product ID of renewable product and of non-consumable products.Any suggestion is appreciable.Thanks.
0
0
374
Mar ’18
IAP - purchase of subscription results in restoring an expired subscription
When purchasing a subscriptionttlet payment = SKPayment(product: product) SKPaymentQueue.default().add(payment) sometimes result in returning a .restored transaction inside paymentQueue(_, updatedTransactions:) this wouldn't be a problem, but the subscription corresponding to the payment is expired (i check after i refetch the app receipt that contains no valid subscriptions) How is this possible?
0
0
513
Jan ’21
Reply to Why do we need receipt validation for IAP?
It is essential because there are a massive amount of users out there trying to purchase IAPs with invalid receipts. So this is not a theoretical issue, it is a real problem. For example **** broken devices are often already modified to automatically send a, let's call it a recycled iTunes receipt. In practice, many users of **** broken devices are not even aware that their devices are doing this by default. So even when they try to restore IAPs that they really bought before, their device would often use a bogus receipt instead by default.Also this is not solely about piracy, you are talking about subscriptions. And when you decode a receipt it also contains the information for which time frame the user purchased the subscription, and also whether the subscription has already been terminated by the user via Apple's iTunes support (think about restoring purchases for instance).And no, these issues are not soley limited to **** broken devices. There are also tools out there
Topic: App & System Services SubTopic: StoreKit Tags:
Mar ’18
Purchases not always works
Hi,I have developped an app with the Iocin framework. Used a 3th party plugin for the in-app purchases from GitHub (cc.fovea.cordova.purchase).The purchases is for the full version of the app and no ad display. In the test phase all is good. In the live version in the App Store, all goes fine except in some cases the purchase is done but the app does not unlock the full-version. Its a smartphone only app (iOS and Android).Some examples for better understanding in the live version:With appleID-A i am on a iPad and buy the in-app purchase 'full-version'. Done, the app unlocks the full version as expected. With the same appleID-A I am also on an iPhone. I press the restore purchases but does not work, The app does not unlock the full-version but the state is owned. If I reinstall the app on the iPad and press restore purchases it is unlocked, just a test if it worksNow I use AppleID-B (already own the full verion) on the same iPad, restore, all goes
12
0
2k
Dec ’16
Reply to In-app purchase fail to get receipts and macos says application damaged
The Finder is presenting this message after a macOS StoreKit app calls exit (173) a second time. The macOS StoreKit app is being run in the sandbox. The app on launch detects that the appStoreReceiptURL is nil and calls exit (173). The Finder detects this exit result and issue a request to the App Store to write a receipt to the app. This causes the app to present an authentication dialog in which you enter the test user account and password. Normally, the appStoreReceipt is refreshed in the app, but not in this failure case - such that the Finder presents the alert to the effect that the app is damaged. For the longest time it was recommended that on launch, the macOS StoreKit app check for the presence of the appStoreReceipt. If not present the app calls exist (173). This is no longer recommended as it rises the Authentication dialog which can be confusing to a user. Instead the advise now is to have the app continue along with the assumption that the user has no access to first time in-app purchase
Topic: App & System Services SubTopic: StoreKit Tags:
Jun ’22
Reply to Auto-Renewal Problem - Receipt not be updated
Thank @richThe major problem is that after restore purchased transactions, the receipt in the macOS app bundle will not be updated (checked manually and using code).The code works well on the iOS device (the receipt will be updated correctly)For the macOS app, I have to write code to save the transaction date (monitor by transactionObserver) in safe area, and write code to validate if the purchase expired. This problem was reported at beginging of this year at https://forums.developer.apple.com/message/290288#290288 and a year ago at https://forums.developer.apple.com/message/258440#258440 by other users. I thought I may made a mistake, it's hard to believe it's a bug as it's so important and so basic for the local verification of auto-renewal subscriptions. Thanks,
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Sep ’18
In App Purchase Restore Incomplete, does not match receipt
[[SKPaymentQueue defaultQueue] restoreCompletedTransactions]in the sandbox consistently returns an incomplete list of transactions. As I repeatedly restore, product ids get dropped, such that I can only restore a handful out of 20 purchased non-consumable IAPs. Even stranger is that the refreshed app receipt is correct; the list of restored transactions does not match the app recipt.Has anyone been experiencing this problem lately? This seems to be a bug with the sandbox servers, it will be good if I can get some kind of confirmation that this doesn't happen with live servers.
Replies
0
Boosts
0
Views
212
Activity
Aug ’15
Do I still need to provide a restore button when using storekit2
I am building a app which only support iOS version over 15.0 and using storekit2 to make in app purchase. I read that by using storekit2 developer no longer need to restore purchase info manually. I wonder if I could dismiss a restore button in my app
Replies
1
Boosts
0
Views
1.1k
Activity
Jan ’22
Item already purchased: will restore for free - consumable purchase
I am currently testing in-apps in the sandbox and have 6 consumable products for the apps consumable currency all of which are verified consumable on itunesconnect. However even though they are set to consumable they are still being treated as a non consumable product, furthermore no delegate methods are being called after the already purchased message is shown. Any ideas?
Replies
1
Boosts
0
Views
465
Activity
Jun ’16
How do iTunes restores work, now that you can't transfer your purchases any more?
How do iTunes restores work, now that you can't transfer your purchases any more?As far as I know can't transfer your purchases to iTunes anymore (since iOS9).Will the phone just download everything from the AppStore again or do you need to manually re-install your apps after the restore? Is there any way to still backup your apps?
Replies
0
Boosts
0
Views
206
Activity
Sep ’15
Can user restore In-App Purchase if the item is deleted from iTunes Connect?
I have a non-consumable In-App Purchase item, wondering what happens if the item is deleted (not removed from sale)?Can the users purchased the item still use Restore to get it back?Thanks
Replies
1
Boosts
0
Views
765
Activity
Jan ’16
Reply to StoreKit2 to validate purchase of paid-app
This is what the documentation says about Transaction.all: This sequence returns the user’s transaction history current to the moment you access the sequence. The sequence emits a finite number of transactions. If the App Store processes new transactions for the user while you’re accessing this sequence, the new transactions appear in the transaction listener, updates. The transaction history doesn’t include finished consumable products or finished non-renewing subscriptions, repurchased non-consumable products or subscriptions, or restored purchases. Even after reading this, I'm not 100% sure if paid apps transactions should show up in the transaction history or not.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Mar ’22
Reply to Restore purchases when testing IAP locally in Xcode 12
I have faced the same issue and I haven't found solution so far. The steps I follow in order to reproduce: I buy a non-consumable. I check my local transactions by navigating to Debug - StoreKit - Manage Transactions. The transaction is there. I remove the application. I do install the application again, I click into my button for restoring purchases - this button triggers restoreCompletedTransactions() from the StoreKit framework - but I receive zero transactions. If I navigate again to Debug - StoreKit - Manage Transactions, I can see there are no transactions. Apparently those transactions are linked to a specific build so as soon as you remove the application the transactions will be gone. It would be great to get any feedback from Apple. Thank you in advance.
Replies
Boosts
Views
Activity
Oct ’20
Restoring in-app purchase no longer works
I have apps that have worked for years with non-consumable in-app purchases that users could restore. Now it no longer works.I call[[SKPaymentQueue defaultQueue] restoreCompletedTransactions];In the store observer, it used to go here- (void)paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions { // never gets here for (SKPaymentTransaction *transaction in transactions) { switch (transaction.transactionState) { case SKPaymentTransactionStateRestored: // used to go here, no longer doesNow it goes here- (void)paymentQueueRestoreCompletedTransactionsFinished:(SKPaymentQueue *)queue { // goes here with [queue.transactions count] == 0I've downloaded the example code here and it has the same problem.https://developer.apple.com/documentation/storekit/in-app_purchase/offering_completing_and_restoring_in-app_purchase
Replies
5
Boosts
0
Views
2.4k
Activity
Nov ’19
In-app restore fails to get the product ID
Hi,I am developing a cross platform hybrid app, using ionic framework. In-app purchases are implemented using ionic native in-app purchase plugin.While restoring purchases,using plugin restore function, not able to get product ID of non-renewable subscription product but gets the product ID of renewable product and of non-consumable products.Any suggestion is appreciable.Thanks.
Replies
0
Boosts
0
Views
374
Activity
Mar ’18
IAP - purchase of subscription results in restoring an expired subscription
When purchasing a subscriptionttlet payment = SKPayment(product: product) SKPaymentQueue.default().add(payment) sometimes result in returning a .restored transaction inside paymentQueue(_, updatedTransactions:) this wouldn't be a problem, but the subscription corresponding to the payment is expired (i check after i refetch the app receipt that contains no valid subscriptions) How is this possible?
Replies
0
Boosts
0
Views
513
Activity
Jan ’21
Reply to Why do we need receipt validation for IAP?
It is essential because there are a massive amount of users out there trying to purchase IAPs with invalid receipts. So this is not a theoretical issue, it is a real problem. For example **** broken devices are often already modified to automatically send a, let's call it a recycled iTunes receipt. In practice, many users of **** broken devices are not even aware that their devices are doing this by default. So even when they try to restore IAPs that they really bought before, their device would often use a bogus receipt instead by default.Also this is not solely about piracy, you are talking about subscriptions. And when you decode a receipt it also contains the information for which time frame the user purchased the subscription, and also whether the subscription has already been terminated by the user via Apple's iTunes support (think about restoring purchases for instance).And no, these issues are not soley limited to **** broken devices. There are also tools out there
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Mar ’18
Where should I begin to add in app purchases
Hello there. At the moment I want to add an in app purchase button to remove ads as well as a restore purchases button. However I don't know where to begin. Could you provide me with a link to some information that provides me with a starting point please? Thank you for your time.
Replies
1
Boosts
0
Views
511
Activity
Sep ’24
Purchases not always works
Hi,I have developped an app with the Iocin framework. Used a 3th party plugin for the in-app purchases from GitHub (cc.fovea.cordova.purchase).The purchases is for the full version of the app and no ad display. In the test phase all is good. In the live version in the App Store, all goes fine except in some cases the purchase is done but the app does not unlock the full-version. Its a smartphone only app (iOS and Android).Some examples for better understanding in the live version:With appleID-A i am on a iPad and buy the in-app purchase 'full-version'. Done, the app unlocks the full version as expected. With the same appleID-A I am also on an iPhone. I press the restore purchases but does not work, The app does not unlock the full-version but the state is owned. If I reinstall the app on the iPad and press restore purchases it is unlocked, just a test if it worksNow I use AppleID-B (already own the full verion) on the same iPad, restore, all goes
Replies
12
Boosts
0
Views
2k
Activity
Dec ’16
Reply to In-app purchase fail to get receipts and macos says application damaged
The Finder is presenting this message after a macOS StoreKit app calls exit (173) a second time. The macOS StoreKit app is being run in the sandbox. The app on launch detects that the appStoreReceiptURL is nil and calls exit (173). The Finder detects this exit result and issue a request to the App Store to write a receipt to the app. This causes the app to present an authentication dialog in which you enter the test user account and password. Normally, the appStoreReceipt is refreshed in the app, but not in this failure case - such that the Finder presents the alert to the effect that the app is damaged. For the longest time it was recommended that on launch, the macOS StoreKit app check for the presence of the appStoreReceipt. If not present the app calls exist (173). This is no longer recommended as it rises the Authentication dialog which can be confusing to a user. Instead the advise now is to have the app continue along with the assumption that the user has no access to first time in-app purchase
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jun ’22