Search results for

“restore purchases”

22,005 results found

Post

Replies

Boosts

Views

Activity

Reply to In app purchase for a large amount of items
The solution is to create the consumable IAP 'credit' and to exchange a certain number of credits for each 'product'. Because of App REviews valid concern that the purchase should be 'non-consumable' you also need to create a record of the exchange of credits for a 'product' so the user can restore their 'product' purchases. And then include a note for App Review explaining what you did - how you are actually selling the product as a non-consumable but using a consumable 'credit' system to effect the purchase - and how you have implemented a restore function. The user's iCloud key-value file is an easy way tpo implement the 'restore' function.
Topic: App & System Services SubTopic: StoreKit Tags:
Apr ’20
in-app purchases on device switch
Hello, I have a usecase where a Enduser purchased a video subscription using via inApp from his Apple Device 1 with AppleId1. On Renewal phase lets say the endsuser used a different device Device2 with AppleId2 (but the subscriber Id remains same between the device ). Now how we can get the latest receipt in device1 (with AppleId1) ? i.e at present the latest receipt for subscription purchase is at device 2 (AppleId2). Is there any option available to synch receipt between different device (when AppIeId is different) Note: If same AppleId is used during device switch then the latest receipt can be retrieved using restore purchased product (https://developer.apple.com/documentation/storekit/in-app_purchase/original_api_for_in-app_purchase/restoring_purchased_products) . But in the above usecase the appleId is different only the subscriberId to login to the Mobile App alone is same
1
0
396
Nov ’23
Reply to restoreCompletedTransactions() not working in iMessage Extension app
first - yes, getProduct() is always called on app start inside viewDidLoad() in the main view controller, so it is impossible to miss it. as an extra step in productsRequest() I have the haveData variable that is true only after I got data about all my IAP and then I display buy all button, and I do all tests after I see Buy All buttonsecond - I never get that far in when I try to restore, I got an error message with code 21105 right after I press a button and I never get to paymentQueue(). From what I understand restore just kicks me out while saying - there is nothing to restore, go away.third - technically only difference between .purchase and .restored is in this linedefaults.set(true, forKey: transaction.original!.payment.productIdentifier)or rather in restored it is transaction.original!.payment.productIdentifier while purchased it is transaction.payment.productIdentifier and rest is just print, log and popup, that never happens since it is
Topic: App & System Services SubTopic: StoreKit Tags:
Feb ’19
How do I resolve "The verify credentials call failed" when attempting to restore an in-app purchase on iOS 15?
I am using StoreKit for in-app purchases. I'm testing the restoration of a purchase, to no avail. I keep getting this error message after typing in the username & password for a sandbox tester: Error Domain=SKErrorDomain Code=0 UNKNOWN_ERROR UserInfo={NSLocalizedDescription=UNKNOWN_ERROR, NSUnderlyingError=0x7b0c000652b0 {Error Domain=ASDErrorDomain Code=500 Unhandled exception UserInfo={NSUnderlyingError=0x7b0c00079ef0 {Error Domain=AMSErrorDomain Code=100 Authentication Failed UserInfo={NSLocalizedFailureReason=The verify credentials call failed., NSLocalizedDescription=Authentication Failed, NSUnderlyingError=0x7b0c0007fbc0 {Error Domain=AMSErrorDomain Code=15 An unknown error occurred. Please try again. UserInfo=0x7b0800027540 (not displayed)}}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}}} What do I need to do to resolve this error?
2
0
4.8k
Nov ’21
In-App Purchase Strategy
Hi everyone, Im working with an app that provides a service to the end user. Our goal is to give a user one free usage of the app, charge $0.99 per usage afterward, or offer unlimited usage for $X.99. I have a few questions on approach and policy.Our tentative approach:- FREE app store download- $0.00 (free) in-app purchase for a non-consumable first credit-- plan is to use this so I can prevent abuse from a user who uninstalls and reinstalls the app - whenever a user goes to purchase this first credit for free the app will check if the user has already done so in the past by doing a restore purchases check and disallow the purchase if they have- $0.99 in-app purchase for a consumable credit after that - does not transfer to other phones or across uninstall/reinstall- $X.99 in-app purchase for a non-consumable purchase to give unlimited use - can be restored on other phones and across uninstall/reinstall1) Is this a violation of Apple's p
2
0
1.2k
Aug ’17
In App Purchase for A Reading App
I am developing a Reading app for e-book content. I Have hundreds maybe thousands of contents. Adding my products as Non-consumable is not a viable option for me since there is no api to automate product adding process to app store connect. so after a little bit of research i figured an in app currency kind of approach is suitable for me. Until this point, i was thinking that without needing to sign in to the app, user can purchase and after deleting and reinstalling app, can restore what he/she purchased before, using Apple's Api. Now i realized that consumable purchases is not restorable. i cannot even retrieve the transactionId. So i need a restoration mechanism as everyone said. i could use icloud key value store. but it's an hybrid app so platform specific code would pollute my codebase. that is why i am avoiding it until i cannot. I read whole guideline about in app purchases but i couldn't find out what happens if these certain scenarios ha
0
0
435
Mar ’21
In-app purchases are not transferring from Mac to iOS App Stores
Our app is a Catalyst app with a single non-consumable in-app purchase. Over the last few weeks we've had a number of users complaining that they've purchased the app on macOS but when they come to restore the same purchase on their iOS devices, our app tells them that there's No purchase found to restore. This is the code that is giving the message: public func paymentQueueRestoreCompletedTransactionsFinished(_ queue: SKPaymentQueue) { guard queue.transactions.count > 0 else { self.setError(text: No purchase found to restore) return } ... So the delegate function is getting called, but the transaction queue is empty. We never have problems with iOS purchasers restoring purchases to iOS devices. Nor do we have issues when macOS purchasers restore to macOS devices. It's only an issue when macOS purchasers restore to iOS devices. We now advise users experiencing this issue to go throu
6
0
1.6k
Oct ’22
Reply to [Sandbox] Consumable products "already bought"
My app only offers consumable in-app purchase products. I can successfully purchase a product once but when I try to purchase it again, a popup This In-App purchase has already been bought. It will be restored for free. appears and the first transaction is restored: the payment queue delegate is notified that a new transaction (with the same identifier as the successful transaction) is updated to the purchased state. I never get a purchased transaction with a new identifier and hence I consider that the purchase failed. Also, each time the app is put in foreground again or at startup, the payment queue delegate is notified that a transaction has been updated (as if it had never been finished). Even though the app properly finishes the transaction each time.
Jul ’25
Reply to In app purchase for a large amount of items
The solution is to create the consumable IAP 'credit' and to exchange a certain number of credits for each 'product'. Because of App REviews valid concern that the purchase should be 'non-consumable' you also need to create a record of the exchange of credits for a 'product' so the user can restore their 'product' purchases. And then include a note for App Review explaining what you did - how you are actually selling the product as a non-consumable but using a consumable 'credit' system to effect the purchase - and how you have implemented a restore function. The user's iCloud key-value file is an easy way tpo implement the 'restore' function.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Apr ’20
Reply to in-app purchase failed on Testflight
Same here, Sandbox restore and purchase works, Testflight not.
Replies
Boosts
Views
Activity
Apr ’20
in-app purchases on device switch
Hello, I have a usecase where a Enduser purchased a video subscription using via inApp from his Apple Device 1 with AppleId1. On Renewal phase lets say the endsuser used a different device Device2 with AppleId2 (but the subscriber Id remains same between the device ). Now how we can get the latest receipt in device1 (with AppleId1) ? i.e at present the latest receipt for subscription purchase is at device 2 (AppleId2). Is there any option available to synch receipt between different device (when AppIeId is different) Note: If same AppleId is used during device switch then the latest receipt can be retrieved using restore purchased product (https://developer.apple.com/documentation/storekit/in-app_purchase/original_api_for_in-app_purchase/restoring_purchased_products) . But in the above usecase the appleId is different only the subscriberId to login to the Mobile App alone is same
Replies
1
Boosts
0
Views
396
Activity
Nov ’23
Reply to In-app purchases failing in Testflight
Same here, Sandbox restore and purchase works, Testflight not.
Replies
Boosts
Views
Activity
Jun ’16
Reply to restoreCompletedTransactions() not working in iMessage Extension app
first - yes, getProduct() is always called on app start inside viewDidLoad() in the main view controller, so it is impossible to miss it. as an extra step in productsRequest() I have the haveData variable that is true only after I got data about all my IAP and then I display buy all button, and I do all tests after I see Buy All buttonsecond - I never get that far in when I try to restore, I got an error message with code 21105 right after I press a button and I never get to paymentQueue(). From what I understand restore just kicks me out while saying - there is nothing to restore, go away.third - technically only difference between .purchase and .restored is in this linedefaults.set(true, forKey: transaction.original!.payment.productIdentifier)or rather in restored it is transaction.original!.payment.productIdentifier while purchased it is transaction.payment.productIdentifier and rest is just print, log and popup, that never happens since it is
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Feb ’19
How do I resolve "The verify credentials call failed" when attempting to restore an in-app purchase on iOS 15?
I am using StoreKit for in-app purchases. I'm testing the restoration of a purchase, to no avail. I keep getting this error message after typing in the username & password for a sandbox tester: Error Domain=SKErrorDomain Code=0 UNKNOWN_ERROR UserInfo={NSLocalizedDescription=UNKNOWN_ERROR, NSUnderlyingError=0x7b0c000652b0 {Error Domain=ASDErrorDomain Code=500 Unhandled exception UserInfo={NSUnderlyingError=0x7b0c00079ef0 {Error Domain=AMSErrorDomain Code=100 Authentication Failed UserInfo={NSLocalizedFailureReason=The verify credentials call failed., NSLocalizedDescription=Authentication Failed, NSUnderlyingError=0x7b0c0007fbc0 {Error Domain=AMSErrorDomain Code=15 An unknown error occurred. Please try again. UserInfo=0x7b0800027540 (not displayed)}}}, NSLocalizedFailureReason=An unknown error occurred, NSLocalizedDescription=Unhandled exception}}} What do I need to do to resolve this error?
Replies
2
Boosts
0
Views
4.8k
Activity
Nov ’21
Reply to paymentQueueRestoreCompletedTransactionsFinished Is called when restore process fails
One solution is to tell the user that No previous purchases were found at the App ZStore. If you think that is incorrect, try to restore your previous purchases at another time - sorry. Otherwise, consider purchasing.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to If App stop publishing, IAP contents become removed from sale?
Nope. You remove the IAP from sale independent of the app itself. And you can never remove access to those who have already purchased the IAP and want to restore the purchase.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to Restoring purchased products on macOS
The user needs to be able to restore a purchase when they load the app into a new device. If you can obtain the purchase information from the receipt then you don't need to support restoreCompletedTransactions.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’16
In-App Purchase Strategy
Hi everyone, Im working with an app that provides a service to the end user. Our goal is to give a user one free usage of the app, charge $0.99 per usage afterward, or offer unlimited usage for $X.99. I have a few questions on approach and policy.Our tentative approach:- FREE app store download- $0.00 (free) in-app purchase for a non-consumable first credit-- plan is to use this so I can prevent abuse from a user who uninstalls and reinstalls the app - whenever a user goes to purchase this first credit for free the app will check if the user has already done so in the past by doing a restore purchases check and disallow the purchase if they have- $0.99 in-app purchase for a consumable credit after that - does not transfer to other phones or across uninstall/reinstall- $X.99 in-app purchase for a non-consumable purchase to give unlimited use - can be restored on other phones and across uninstall/reinstall1) Is this a violation of Apple's p
Replies
2
Boosts
0
Views
1.2k
Activity
Aug ’17
In App Purchase for A Reading App
I am developing a Reading app for e-book content. I Have hundreds maybe thousands of contents. Adding my products as Non-consumable is not a viable option for me since there is no api to automate product adding process to app store connect. so after a little bit of research i figured an in app currency kind of approach is suitable for me. Until this point, i was thinking that without needing to sign in to the app, user can purchase and after deleting and reinstalling app, can restore what he/she purchased before, using Apple's Api. Now i realized that consumable purchases is not restorable. i cannot even retrieve the transactionId. So i need a restoration mechanism as everyone said. i could use icloud key value store. but it's an hybrid app so platform specific code would pollute my codebase. that is why i am avoiding it until i cannot. I read whole guideline about in app purchases but i couldn't find out what happens if these certain scenarios ha
Replies
0
Boosts
0
Views
435
Activity
Mar ’21
Reply to Remove all IAP from App to offer freemium
What did you end up doing? I have the same question. I'd like to take my app from In-App Purchases to paid upfront and not have the Offers In-App Purchases showing while still being able for versions of my app to restore their purchases.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jun ’20
In-app purchases are not transferring from Mac to iOS App Stores
Our app is a Catalyst app with a single non-consumable in-app purchase. Over the last few weeks we've had a number of users complaining that they've purchased the app on macOS but when they come to restore the same purchase on their iOS devices, our app tells them that there's No purchase found to restore. This is the code that is giving the message: public func paymentQueueRestoreCompletedTransactionsFinished(_ queue: SKPaymentQueue) { guard queue.transactions.count > 0 else { self.setError(text: No purchase found to restore) return } ... So the delegate function is getting called, but the transaction queue is empty. We never have problems with iOS purchasers restoring purchases to iOS devices. Nor do we have issues when macOS purchasers restore to macOS devices. It's only an issue when macOS purchasers restore to iOS devices. We now advise users experiencing this issue to go throu
Replies
6
Boosts
0
Views
1.6k
Activity
Oct ’22
Reply to [Sandbox] Consumable products "already bought"
My app only offers consumable in-app purchase products. I can successfully purchase a product once but when I try to purchase it again, a popup This In-App purchase has already been bought. It will be restored for free. appears and the first transaction is restored: the payment queue delegate is notified that a new transaction (with the same identifier as the successful transaction) is updated to the purchased state. I never get a purchased transaction with a new identifier and hence I consider that the purchase failed. Also, each time the app is put in foreground again or at startup, the payment queue delegate is notified that a transaction has been updated (as if it had never been finished). Even though the app properly finishes the transaction each time.
Replies
Boosts
Views
Activity
Jul ’25
Reply to What if an app is not profitable anymore
Remove the app and the IAPs from sale. No new purchasers. Previous purchasers can restore app and/or IAPs and, if possible, use it with ever increasing bugs.
Replies
Boosts
Views
Activity
Oct ’15