Search results for

“restore purchases”

22,105 results found

Post

Replies

Boosts

Views

Activity

Reply to Renewal transactions not arriving on device?
So the problem is that's not happening when I think it should. updatedTransactions is not getting called. If the app is running and the foreground, the expiry time passes and nothing happens.It seems that the renewal does happen on apples end, because I am able to use restore purchases to get the transaction, but if the app is running and in the foreground, I don't get the transaction. Sometimes it arrives on startup if I restart the app, sometimes it doesn't. When exactly should the renewal transaction arrive on the SKPaymentQueue?
Topic: App & System Services SubTopic: StoreKit Tags:
Apr ’20
IAP Restore
Hi, In my app, I do all the validation locally and the documentation doesn't explain how to restore purchases when the app restores everything locally. Here is my code. Thank you for your time. Code - https://developer.apple.com/forums/content/attachment/f7000d1d-5901-4758-8b91-d4f2b3dc5a3f
0
0
626
May ’21
Reply to How to hide an auto-renewal subscription from App Store manage subscriptions page
As I understand it, if a user installs your app on a new device and hits your purchase button instead of restore purchases, there is a chance they would be double-billed if you have separate subscription groups for the same product. This would result in a terrible customer experience, to say the least. From Apple: creating a single group is the best practice for most apps as it prevents people from accidentally purchasing multiple subscriptions. You can create a subscription offer in App Store Connect to attract legacy users for renewals. See: https://developer.apple.com/help/app-store-connect/manage-subscriptions/set-up-promotional-offers-for-auto-renewable-subscriptions/
Topic: App & System Services SubTopic: StoreKit Tags:
Oct ’23
Reply to In-App Purchase Refresh receipt
Sorry for not providing full details of my question.When i'm sayih user1 looged into device 2 means. he has logged into application with app credentials not logged into itunes connect credentials.I'll make payments using applicationUsername.Here User1 and User2 are some how relatives, So Device 2 will have same itunes credentials always of user 2, but user 1 will logged into app with app credentials,If i restore the transactions with ApplictionUserName ,so will i get transactions only for applicationUserName irrespective of ItunesCredentials?Can we use verification Recipet API instead of Refreshing Receipt and Restoring purchases Products?
Topic: App & System Services SubTopic: StoreKit Tags:
May ’17
Reply to Do we still need "Restore purchases" button with app receipt mechanism?
> 1) If a user purchases an IAP on device 1 they need some way to get the IAP to also appear on device 2After reading this I tested it by purchasing auto-renewable subscription on device 1 and refreshing the receipt on device 2 and the IAP appears on both so maybe I didn't get your point.> When the app does this the user is prompted to log into their iTunes Account. You can't do that without the user asking for it.My app (supports >iOS 7) offers non-consumable IAP only (auto-renewable subscriptions and another non-consumable product).I couldn't find a reason why keep using [[SKPaymentQueue defaultQueue] restoreCompletedTransactions] when SKReceiptRefreshRequest brings up all IAP in a single receipt.Can I restore purchases(after user taps 'restore purhcases' button) with SKReceiptRefreshRequest only or am I missing something?
Topic: App & System Services SubTopic: StoreKit Tags:
Oct ’16
macOS In-App Purchase product restore doesn't update receipt
I'm developing a freemium app with a non consumable IAP.When I originally start the app with a test user it correctly downloads the initial receipt for the app, the one that doesn't contain any product id (no Type 17 values included).Then I proceed, as a test user, with the only non consumable purchase avaiable and it correctly downloads the receipt that contains the purchased product id (and all other Type 17 validatable values).To test a restore scenario I then usually delete (as root to not mess up the file privileges) the receipt that contains the product id and I swap it with the one downloaded originally (with no product id).I then initiate the process of restoring calling:[[SKPaymentQueue defaultQueue] restoreCompletedTransactions]it goes through flawlessly but the receipt is not updated with the product id of the product that should have been restored.If then I try to force this process usingSKReceiptRefreshRequeststoreassetd replies with: ### Receipt is VALID for a
11
0
1.9k
Nov ’16
IAP restoration confirmation
When IAP is purchased the following is correctly displayed. “You’re all set Your purchase was successful.” However, when a previous IAP is restored, purchase will be restored but there is no feedback/notification displayed. Therefore, after an IAP is successfully restored, the following feedback/notification would be very helpful (similar to when the app is purchased): “You’re all set Your purchase has been successfully restored” I understand this is not related to coding by the developer but has to do with the apples in-app purchase process.
0
0
229
Jul ’24
Reply to How is receipt validation supposed to work for a new Mac version of an old iOS app?
OK, let's say I check the original purchase date instead of the original purchase version. I still don't know what is supposed to happen between the iOS and macOS versions of the app. If a user purchased some earlier version of the iOS app (pre or post in-app purchases), should the receipt received in the macOS version of the app reflect that past purchase? Right now I know of one user where the receipt obtained in the macOS version makes no mention of the past iOS purchase. The user has confirmed they are using the same AppleID on both devices. As extra info, my app only does receipt validation if the user clicks on the restore purchases button in the app. Is there any reason that waiting until then to request a new receipt would cause the wrong receipt to be received?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’23
Reply to SKProductsRequest fails with SKErrorDomain error 0
Hi CoachGuitarNo I haven't hear anything new on this.I've been dealing with the issue for months now. It seems to be escalating lately as people get new phones, try to restore purchases, and for some of them something goes wrong, crashes itunesstored, and they're stuck, unable to restore or purchase anything in the app indefinitely. It's as if the user's purchase data for my app gets corrupted.As I mentioned above I filed a bug report yesterday, as I was able to get some itunesstored crash logs from users. I've been attaching more logs to the bug report as they come in. The all appear to the same crash as far as I can tell. I'll report back here If I hear anything.To get the crash logs I've asked users to check in Settings > Privacy > Diagnostics & Usage > Diagnostic & Usage Data and search for anything that starts with itunesstored_ then copy the content and send it to me by email.
Topic: App & System Services SubTopic: StoreKit Tags:
Oct ’15
Reply to In-app purchases failing in Testflight
DanielI'm having the same issue. I have 3 IAP's in my app, with an option to restore all. 2 of the 3 IAP's unlock and restore and are accessible no problem. 1 of the IAP's says it is restored (if Restore purchase is selected) and if buy is selected I get the Cannot Connect to iTunes error. After either Restored Successfully or Cannot connect to iTunes - when feature is accessed the original Buy / Restore or Not Now pop up comes up. User cannot access feature. My coder is saying it is working fine for him. I am afraid to submit this version without confirmation. Are you saying you believe that this is a Testflight / ITC issue, and actually shouldn't be a problem in a live version of the app? The curious thing to be is that the other 2 IAP's are not delivering this message are accessible through testflight after either buy or restore are selected. Would appreciate your insights. Thank you!
Jun ’16
In App Purchase Restore Problem
Hi,At the moment my app is pretty much finished aside from one problem i'm having with the in App Purchases.My in App Purchases are non-consumables that open up a new view and the contents within that view.The problem stems from the restoration of the in app purhcases once they have been bought.While one can be bought, restored and opened perfectly fine, if the user then chooses to restore another the app crashes. But then when it is reopened the user can then restore the one that caused the crash. However if another is restored it crashes again and so on. So basically only one can be restored before the app crashes.So seemingly something in my code isn't being set free when the in app purchase screen for one option is being closed and another one is opened.Can someone please have a look at this code and give me their thoughts on what's going wrong.I'll show two examples, one will be an in app purchase for Rock Genre, the other f
1
0
1.1k
Jun ’16
Reply to Mac App Store Testing Question
That doesn't make sense. I am unaware of any embedded MAS receipt. It sounds like you may be trying to perform MAS operations while running in the debugger out of DerivedData. Don't do that. Export a development build instead. That build will not have any receipt. You will have to run it and then you can get a sandbox receipt. However, you don't need to test restoring a build without a receipt. If that works, it would only be because you had a old receipt in your debug build. A restore will only restore purchases. You should start off with a valid receipt before performing a restore.As long as you make sure that you are personally signed out of the MAS then everything should work fine. The only glitch you might encounter would be if you tried a sandbox purchase in a different country. The old MAS would allow you to set your country independent of your account. The new one just switches your country, but I don't know how well that works in a sandbox environment.
Feb ’19
Reply to Can I create an In-App purchase item for tvOS game only?
Yes, it'll still show in iTunes as an in app purchase, but unless you include it in the list of IAP IDs you request in StoreKit in your iOS version it won't show in that app. (or even if you do request it, you don't have to display it in the app itself).It's worth giving your Apple TV IAPs recognisably different IDs to the iOS ones for your own sake when editing them and maintaining your code.Also, if you're doing Universal Purchase (so players who buy your iOS version get the Apple TV version) it's worth considering whether you want a different IAP for each device. (feasibly you can allow the tv IAP purchase to unlock things on the iOS version and visa-versa when you restore purchases).
Topic: App & System Services SubTopic: Core OS Tags:
Nov ’15
Reply to Account deletion requirement
Technically the subscription is not attached to the user account in your own system, but is attached to the Apple ID. I believe you should let a user with an active subscription delete their account in your system, and ideally give them a warning that deleting their account won't terminate their subscription. You also have to keep in mind that if a user delete their account, and create a new one later one, even with totally new email/ identification info, they will still be able to enjoy their legacy suscription by using the restore purchase mechanism.
Topic: App & System Services SubTopic: StoreKit Tags:
Jan ’22
Reply to SKProductsRequest fails with SKErrorDomain error 0
I have a couple of users reporting the same problem as of late. They're neither able to make purchases nor restore purchases. The error they're getting is SKErrorDomain error 0. In one case the user has two devices, on one everything works fine but not on the other, both devices are on iOS 8.4 and the same version of my app. I'm wondering if it's related to iOS 8.4 since this problem never showed up until now.My app has been out for a couple of years. I haven't changed the IAP code for several months, so I don't think it's a bug in my IAP code. Also we have thousands of users who've made purchases with no issues within this same time frame.
Topic: App & System Services SubTopic: StoreKit Tags:
Jul ’15
Reply to Renewal transactions not arriving on device?
So the problem is that's not happening when I think it should. updatedTransactions is not getting called. If the app is running and the foreground, the expiry time passes and nothing happens.It seems that the renewal does happen on apples end, because I am able to use restore purchases to get the transaction, but if the app is running and in the foreground, I don't get the transaction. Sometimes it arrives on startup if I restart the app, sometimes it doesn't. When exactly should the renewal transaction arrive on the SKPaymentQueue?
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Apr ’20
IAP Restore
Hi, In my app, I do all the validation locally and the documentation doesn't explain how to restore purchases when the app restores everything locally. Here is my code. Thank you for your time. Code - https://developer.apple.com/forums/content/attachment/f7000d1d-5901-4758-8b91-d4f2b3dc5a3f
Replies
0
Boosts
0
Views
626
Activity
May ’21
Reply to How to hide an auto-renewal subscription from App Store manage subscriptions page
As I understand it, if a user installs your app on a new device and hits your purchase button instead of restore purchases, there is a chance they would be double-billed if you have separate subscription groups for the same product. This would result in a terrible customer experience, to say the least. From Apple: creating a single group is the best practice for most apps as it prevents people from accidentally purchasing multiple subscriptions. You can create a subscription offer in App Store Connect to attract legacy users for renewals. See: https://developer.apple.com/help/app-store-connect/manage-subscriptions/set-up-promotional-offers-for-auto-renewable-subscriptions/
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to In-App Purchase Refresh receipt
Sorry for not providing full details of my question.When i'm sayih user1 looged into device 2 means. he has logged into application with app credentials not logged into itunes connect credentials.I'll make payments using applicationUsername.Here User1 and User2 are some how relatives, So Device 2 will have same itunes credentials always of user 2, but user 1 will logged into app with app credentials,If i restore the transactions with ApplictionUserName ,so will i get transactions only for applicationUserName irrespective of ItunesCredentials?Can we use verification Recipet API instead of Refreshing Receipt and Restoring purchases Products?
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
May ’17
Reply to Do we still need "Restore purchases" button with app receipt mechanism?
> 1) If a user purchases an IAP on device 1 they need some way to get the IAP to also appear on device 2After reading this I tested it by purchasing auto-renewable subscription on device 1 and refreshing the receipt on device 2 and the IAP appears on both so maybe I didn't get your point.> When the app does this the user is prompted to log into their iTunes Account. You can't do that without the user asking for it.My app (supports >iOS 7) offers non-consumable IAP only (auto-renewable subscriptions and another non-consumable product).I couldn't find a reason why keep using [[SKPaymentQueue defaultQueue] restoreCompletedTransactions] when SKReceiptRefreshRequest brings up all IAP in a single receipt.Can I restore purchases(after user taps 'restore purhcases' button) with SKReceiptRefreshRequest only or am I missing something?
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’16
macOS In-App Purchase product restore doesn't update receipt
I'm developing a freemium app with a non consumable IAP.When I originally start the app with a test user it correctly downloads the initial receipt for the app, the one that doesn't contain any product id (no Type 17 values included).Then I proceed, as a test user, with the only non consumable purchase avaiable and it correctly downloads the receipt that contains the purchased product id (and all other Type 17 validatable values).To test a restore scenario I then usually delete (as root to not mess up the file privileges) the receipt that contains the product id and I swap it with the one downloaded originally (with no product id).I then initiate the process of restoring calling:[[SKPaymentQueue defaultQueue] restoreCompletedTransactions]it goes through flawlessly but the receipt is not updated with the product id of the product that should have been restored.If then I try to force this process usingSKReceiptRefreshRequeststoreassetd replies with: ### Receipt is VALID for a
Replies
11
Boosts
0
Views
1.9k
Activity
Nov ’16
IAP restoration confirmation
When IAP is purchased the following is correctly displayed. “You’re all set Your purchase was successful.” However, when a previous IAP is restored, purchase will be restored but there is no feedback/notification displayed. Therefore, after an IAP is successfully restored, the following feedback/notification would be very helpful (similar to when the app is purchased): “You’re all set Your purchase has been successfully restored” I understand this is not related to coding by the developer but has to do with the apples in-app purchase process.
Replies
0
Boosts
0
Views
229
Activity
Jul ’24
Reply to How is receipt validation supposed to work for a new Mac version of an old iOS app?
OK, let's say I check the original purchase date instead of the original purchase version. I still don't know what is supposed to happen between the iOS and macOS versions of the app. If a user purchased some earlier version of the iOS app (pre or post in-app purchases), should the receipt received in the macOS version of the app reflect that past purchase? Right now I know of one user where the receipt obtained in the macOS version makes no mention of the past iOS purchase. The user has confirmed they are using the same AppleID on both devices. As extra info, my app only does receipt validation if the user clicks on the restore purchases button in the app. Is there any reason that waiting until then to request a new receipt would cause the wrong receipt to be received?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’23
Reply to SKProductsRequest fails with SKErrorDomain error 0
Hi CoachGuitarNo I haven't hear anything new on this.I've been dealing with the issue for months now. It seems to be escalating lately as people get new phones, try to restore purchases, and for some of them something goes wrong, crashes itunesstored, and they're stuck, unable to restore or purchase anything in the app indefinitely. It's as if the user's purchase data for my app gets corrupted.As I mentioned above I filed a bug report yesterday, as I was able to get some itunesstored crash logs from users. I've been attaching more logs to the bug report as they come in. The all appear to the same crash as far as I can tell. I'll report back here If I hear anything.To get the crash logs I've asked users to check in Settings > Privacy > Diagnostics & Usage > Diagnostic & Usage Data and search for anything that starts with itunesstored_ then copy the content and send it to me by email.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to In-app purchases failing in Testflight
DanielI'm having the same issue. I have 3 IAP's in my app, with an option to restore all. 2 of the 3 IAP's unlock and restore and are accessible no problem. 1 of the IAP's says it is restored (if Restore purchase is selected) and if buy is selected I get the Cannot Connect to iTunes error. After either Restored Successfully or Cannot connect to iTunes - when feature is accessed the original Buy / Restore or Not Now pop up comes up. User cannot access feature. My coder is saying it is working fine for him. I am afraid to submit this version without confirmation. Are you saying you believe that this is a Testflight / ITC issue, and actually shouldn't be a problem in a live version of the app? The curious thing to be is that the other 2 IAP's are not delivering this message are accessible through testflight after either buy or restore are selected. Would appreciate your insights. Thank you!
Replies
Boosts
Views
Activity
Jun ’16
In App Purchase Restore Problem
Hi,At the moment my app is pretty much finished aside from one problem i'm having with the in App Purchases.My in App Purchases are non-consumables that open up a new view and the contents within that view.The problem stems from the restoration of the in app purhcases once they have been bought.While one can be bought, restored and opened perfectly fine, if the user then chooses to restore another the app crashes. But then when it is reopened the user can then restore the one that caused the crash. However if another is restored it crashes again and so on. So basically only one can be restored before the app crashes.So seemingly something in my code isn't being set free when the in app purchase screen for one option is being closed and another one is opened.Can someone please have a look at this code and give me their thoughts on what's going wrong.I'll show two examples, one will be an in app purchase for Rock Genre, the other f
Replies
1
Boosts
0
Views
1.1k
Activity
Jun ’16
Reply to Mac App Store Testing Question
That doesn't make sense. I am unaware of any embedded MAS receipt. It sounds like you may be trying to perform MAS operations while running in the debugger out of DerivedData. Don't do that. Export a development build instead. That build will not have any receipt. You will have to run it and then you can get a sandbox receipt. However, you don't need to test restoring a build without a receipt. If that works, it would only be because you had a old receipt in your debug build. A restore will only restore purchases. You should start off with a valid receipt before performing a restore.As long as you make sure that you are personally signed out of the MAS then everything should work fine. The only glitch you might encounter would be if you tried a sandbox purchase in a different country. The old MAS would allow you to set your country independent of your account. The new one just switches your country, but I don't know how well that works in a sandbox environment.
Replies
Boosts
Views
Activity
Feb ’19
Reply to Can I create an In-App purchase item for tvOS game only?
Yes, it'll still show in iTunes as an in app purchase, but unless you include it in the list of IAP IDs you request in StoreKit in your iOS version it won't show in that app. (or even if you do request it, you don't have to display it in the app itself).It's worth giving your Apple TV IAPs recognisably different IDs to the iOS ones for your own sake when editing them and maintaining your code.Also, if you're doing Universal Purchase (so players who buy your iOS version get the Apple TV version) it's worth considering whether you want a different IAP for each device. (feasibly you can allow the tv IAP purchase to unlock things on the iOS version and visa-versa when you restore purchases).
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’15
Reply to Account deletion requirement
Technically the subscription is not attached to the user account in your own system, but is attached to the Apple ID. I believe you should let a user with an active subscription delete their account in your system, and ideally give them a warning that deleting their account won't terminate their subscription. You also have to keep in mind that if a user delete their account, and create a new one later one, even with totally new email/ identification info, they will still be able to enjoy their legacy suscription by using the restore purchase mechanism.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jan ’22
Reply to SKProductsRequest fails with SKErrorDomain error 0
I have a couple of users reporting the same problem as of late. They're neither able to make purchases nor restore purchases. The error they're getting is SKErrorDomain error 0. In one case the user has two devices, on one everything works fine but not on the other, both devices are on iOS 8.4 and the same version of my app. I'm wondering if it's related to iOS 8.4 since this problem never showed up until now.My app has been out for a couple of years. I haven't changed the IAP code for several months, so I don't think it's a bug in my IAP code. Also we have thousands of users who've made purchases with no issues within this same time frame.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jul ’15