Search results for

“restore purchases”

22,011 results found

Post

Replies

Boosts

Views

Activity

How to restore from IOS11 to IOS10 when the restore gets stuck?
Hi all,I'm trying to restore an Iphone 6s which was running IOS11 Beta. I did download the software in iTunes, hit Reset&Update but now the phone got into a loop.It's display is showing the black-ish background constantly asking me to connect it to iTunes for restare, I connect it, hit restore, it shows the restore progress, and then the screen is going back to the Black screen asking me to restore it.How can I fix this?
1
0
440
Jul ’17
Reply to Receiving transaction that is not present in the receipt (auto-renewing subscriptions)
let's unpack this....1) Ok, so we know this is a 'purchase' not a 'restored' transaction, because it's coming from updatedTransactions, not restoreCompletedTransactions.Not quite correct; if StoreKit is responding to a restoreCompletedTransactions it calls updatedTransactions with transaction.transactionState==SKPaymentTransactionStateRestored.I'm not sure what a 'repurchase for free' is... can you clarify that?If the user has made a purchase on that device or some other device and they purchase the same IAP again then they are told something like 'you already purchased this, do you want to download it again for free?' If they say 'yes' then they get a call to updatedTransactions with SKPaymentTransactionStatePurchased just like the original purchase but they do not get charged for it. You can detect that by noting that the transaction.transactionIdentifier value is not represented in the receipt.....it should have a corresponding receipt entry, no? Correc
Topic: App & System Services SubTopic: StoreKit Tags:
Oct ’18
Manage purchase cancellation with Grand Unified Receipt (iOS 7+)
Guys I need your help to understand how to properly manage the cancellation of a purchase on iOS 7+ (with Grand Unified Receipt). The cancellation happens when a customer contacts Apple customer support for a refund. Apple says that we should rely on the cancellation_date field in order to understand whether a purchase is cancelled: If your app validates its receipt with the App Store and your subscriptions are still valid, then cancellation_date will appear in the latest_receipt section of the returned receipt. If your subscriptions are expired, cancellation_date will appear in its latest_receipt_info section. (https://developer.apple.com/library/content/technotes/tn2413/_index.html#//apple_ref/doc/uid/DTS40016228-CH1-RECEIPT-HOW_DO_I_USE_THE_CANCELLATION_DATE_FIELD_) The problem is that the latest_receipt and latest_receipt_info are returned only for iOS 6 (or less) using the old receipt style: Only returned for iOS 6 style transaction receipts for auto-renewable subscriptions. (https://de
2
0
1.1k
Sep ’16
Reply to different receipts get same in_app content
This appears to be a single user who made a purchase of the IAP at 15:13:50 and then repurchased (or restored) the purchase at 15:14:03 and then again at 15:14:26.It is a bit surprising that the time interval in the second case is precisely equal to the time interval of the forst repurchase/restore. But otherwise, what is your concern?If your server was asked to 'validate' these three purchases at a time significantly different from the three 'receipt_creation_date' then you might wonder about a hack. Unfortunately, you are no longer allowed to reject the second and third duplicate transaction_id because of a SECURITY BUG IN APPLE'S SYSTEM in which the transaction_id is not as the documents purport.
Topic: App & System Services SubTopic: StoreKit Tags:
Aug ’17
In-App Purchase consumable can be purchased just once
I am making an app in SwiftUI using an In-app purchase. In this app, the user should be able to buy points as many times as he wants, so I have used consumable products (in the app store connect). But when I've tried to buy them once again I got the information This In-App purchase has already been bought. It will be restored for free. I've already searched for a way how to do it but none of the ideas worked for me. Here is my StoreManager class: import Foundation import StoreKit import SwiftUI class StoreManager : NSObject, ObservableObject, SKProductsRequestDelegate { @EnvironmentObject var authViewModel: AuthViewModel @Published var transactionState: SKPaymentTransactionState? @Published var myProducts = [SKProduct]() var request: SKProductsRequest! func productsRequest(_ request: SKProductsRequest, didReceive response: SKProductsResponse) { print(Did receive response) if !response.products.isEmpty { for fetchedProduct in response.products { DispatchQueue.main.async { self.myProd
3
0
2.4k
Jan ’22
Reply to Is Restore purchases mandatory functionality?
Apple is restoring the purchase to all devices owned by 'the same user'. They define the user as the person using the same Apple ID on their App Store account. You are defining the user as the person who is logging into your server using the same username and password. Therefore your 'restore' is not doing the same thing that Apple requires. You need a restore function. App Review may not realize this.
Topic: App & System Services SubTopic: StoreKit Tags:
Jan ’19
Reply to In-App Purchase Product type for gated content
I guess you need sense for something to make sense 🙂 ABC account is just a placeholder for an account on his app, which he anonymized.Monish:I would try to pass yourself as a reader app. Then you could use consumable IAP and keep track of the purchases on your own server. You would set up a consumable purchase com.abc.subscription. When an ABC user purchases this, you register this purchase with your server. Users won't be able to restore these purchases through iTunes, so you have to facilitate this logic through your ABC server.Good luck!
Topic: App & System Services SubTopic: StoreKit Tags:
Jul ’17
Reply to receipt validation problem
The receipt may have been sent to your server from a device that had not yet purchased (or restored) the subscription or the user is scamming you.You wrote: If user has successfully purchased, and got an email confirmation from Apple,Please confirm that you saw that email confirmation.Ask the user to restoreCompletedPurchases and see if that works.
Topic: App & System Services SubTopic: StoreKit Tags:
Dec ’19
"This item has already been bought.It will be restore for free" message comes for promo code purchase & it does not restore product.Is there any activation time for promo codes to work?
Hi All,I am facing a wierd issue with purchase using Promo code on live app.Promo codes were generated on 05/01/2017 & tried using same on 05/01/2017. But it didn't work.Used same promo code for purchase on 06/01/2017.It worked fine.I am still not able to find out the reason why it was not working.Regards,Ishita
0
0
414
Jan ’17
Reply to Purchases not always works
Thanks for the answer, I will clarify some things, this is my very first app so just a beginner. Made the app in Visual Studio with the Cordova Tools extension. Build the app in Adobe Phonegap online tool. Its an hybrid free app with in-app purchases.What I did to test is delete the app from iPad-A, iPad-B, iPhone-A and iPhone-B, logout on all devices in iTunes.1) iPad-A: I login in iTunes with AppleID-A, go to the app store, install the app and restore the purchase, full version unlocks.2) iPhone-A: I login in iTunes with AppleID-A, go to the app store, install the app and restore the purchase, full version does not unlock3) iPad-B: I login in iTunes with AppleID-A, go to the app store, install the app and restore the purchase, full version unlocks.4) iPphone-B: I login in iTunes with AppleID-A, go to the app store, install the app and restore the purchase, full version unlocks.Delete the app on all devices and log out and do the same te
Topic: App & System Services SubTopic: StoreKit Tags:
Dec ’16
Reply to Re-purchasing autorenewing subscription
@PBK, the error above `PaymentCancelled` also happens if a user taps Cancel when asked if they want to purchase to begin with, so there is no way to react to this failure state tell the user to Restore.Also, I do not think changing my UI to ask users to Restore before making their first purchase is how we would like to design the purchase experience.Similarly to @filipUT, this behavior is new—after initiating a purchase for an already purchased subscription StoreKit used to return a transaction that had state Purchased and was therfore successful, not a Failed transaction with the SKErrorCode.PaymentCancelled
Topic: App & System Services SubTopic: StoreKit Tags:
Nov ’16
Reply to Restoring In app purchase products
Thanks for your reply.I've confirmed if users are managed to restore all of their old purchases in testflight app(sandbox env) which have been purchased via testflight app(sandbox env), it will correctly work for app store app users (production env)
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
May ’18
How to restore from IOS11 to IOS10 when the restore gets stuck?
Hi all,I'm trying to restore an Iphone 6s which was running IOS11 Beta. I did download the software in iTunes, hit Reset&Update but now the phone got into a loop.It's display is showing the black-ish background constantly asking me to connect it to iTunes for restare, I connect it, hit restore, it shows the restore progress, and then the screen is going back to the Black screen asking me to restore it.How can I fix this?
Replies
1
Boosts
0
Views
440
Activity
Jul ’17
Reply to Receiving transaction that is not present in the receipt (auto-renewing subscriptions)
let's unpack this....1) Ok, so we know this is a 'purchase' not a 'restored' transaction, because it's coming from updatedTransactions, not restoreCompletedTransactions.Not quite correct; if StoreKit is responding to a restoreCompletedTransactions it calls updatedTransactions with transaction.transactionState==SKPaymentTransactionStateRestored.I'm not sure what a 'repurchase for free' is... can you clarify that?If the user has made a purchase on that device or some other device and they purchase the same IAP again then they are told something like 'you already purchased this, do you want to download it again for free?' If they say 'yes' then they get a call to updatedTransactions with SKPaymentTransactionStatePurchased just like the original purchase but they do not get charged for it. You can detect that by noting that the transaction.transactionIdentifier value is not represented in the receipt.....it should have a corresponding receipt entry, no? Correc
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’18
Manage purchase cancellation with Grand Unified Receipt (iOS 7+)
Guys I need your help to understand how to properly manage the cancellation of a purchase on iOS 7+ (with Grand Unified Receipt). The cancellation happens when a customer contacts Apple customer support for a refund. Apple says that we should rely on the cancellation_date field in order to understand whether a purchase is cancelled: If your app validates its receipt with the App Store and your subscriptions are still valid, then cancellation_date will appear in the latest_receipt section of the returned receipt. If your subscriptions are expired, cancellation_date will appear in its latest_receipt_info section. (https://developer.apple.com/library/content/technotes/tn2413/_index.html#//apple_ref/doc/uid/DTS40016228-CH1-RECEIPT-HOW_DO_I_USE_THE_CANCELLATION_DATE_FIELD_) The problem is that the latest_receipt and latest_receipt_info are returned only for iOS 6 (or less) using the old receipt style: Only returned for iOS 6 style transaction receipts for auto-renewable subscriptions. (https://de
Replies
2
Boosts
0
Views
1.1k
Activity
Sep ’16
Reply to Non-renew subscription and receipt?
The procedure of using the user's iCloud key-value file to copy receipts to other devices (and restore it to the purchasing device) still works.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to different receipts get same in_app content
This appears to be a single user who made a purchase of the IAP at 15:13:50 and then repurchased (or restored) the purchase at 15:14:03 and then again at 15:14:26.It is a bit surprising that the time interval in the second case is precisely equal to the time interval of the forst repurchase/restore. But otherwise, what is your concern?If your server was asked to 'validate' these three purchases at a time significantly different from the three 'receipt_creation_date' then you might wonder about a hack. Unfortunately, you are no longer allowed to reject the second and third duplicate transaction_id because of a SECURITY BUG IN APPLE'S SYSTEM in which the transaction_id is not as the documents purport.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Aug ’17
IAP check if there is something to restore
I'm required to offer the user a way to restore their purchases (from another device). For this I am required to add a button. I would like to only provide this button if there is actually something to restore. Is there a way to query if the device owner has any receipt for the app.
Replies
0
Boosts
0
Views
378
Activity
Jul ’20
In-App Purchase consumable can be purchased just once
I am making an app in SwiftUI using an In-app purchase. In this app, the user should be able to buy points as many times as he wants, so I have used consumable products (in the app store connect). But when I've tried to buy them once again I got the information This In-App purchase has already been bought. It will be restored for free. I've already searched for a way how to do it but none of the ideas worked for me. Here is my StoreManager class: import Foundation import StoreKit import SwiftUI class StoreManager : NSObject, ObservableObject, SKProductsRequestDelegate { @EnvironmentObject var authViewModel: AuthViewModel @Published var transactionState: SKPaymentTransactionState? @Published var myProducts = [SKProduct]() var request: SKProductsRequest! func productsRequest(_ request: SKProductsRequest, didReceive response: SKProductsResponse) { print(Did receive response) if !response.products.isEmpty { for fetchedProduct in response.products { DispatchQueue.main.async { self.myProd
Replies
3
Boosts
0
Views
2.4k
Activity
Jan ’22
Reply to Is Restore purchases mandatory functionality?
Apple is restoring the purchase to all devices owned by 'the same user'. They define the user as the person using the same Apple ID on their App Store account. You are defining the user as the person who is logging into your server using the same username and password. Therefore your 'restore' is not doing the same thing that Apple requires. You need a restore function. App Review may not realize this.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jan ’19
Reply to In-App Purchase Product type for gated content
I guess you need sense for something to make sense 🙂 ABC account is just a placeholder for an account on his app, which he anonymized.Monish:I would try to pass yourself as a reader app. Then you could use consumable IAP and keep track of the purchases on your own server. You would set up a consumable purchase com.abc.subscription. When an ABC user purchases this, you register this purchase with your server. Users won't be able to restore these purchases through iTunes, so you have to facilitate this logic through your ABC server.Good luck!
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jul ’17
Reply to receipt validation problem
The receipt may have been sent to your server from a device that had not yet purchased (or restored) the subscription or the user is scamming you.You wrote: If user has successfully purchased, and got an email confirmation from Apple,Please confirm that you saw that email confirmation.Ask the user to restoreCompletedPurchases and see if that works.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Dec ’19
"This item has already been bought.It will be restore for free" message comes for promo code purchase & it does not restore product.Is there any activation time for promo codes to work?
Hi All,I am facing a wierd issue with purchase using Promo code on live app.Promo codes were generated on 05/01/2017 & tried using same on 05/01/2017. But it didn't work.Used same promo code for purchase on 06/01/2017.It worked fine.I am still not able to find out the reason why it was not working.Regards,Ishita
Replies
0
Boosts
0
Views
414
Activity
Jan ’17
Reply to Purchases not always works
Thanks for the answer, I will clarify some things, this is my very first app so just a beginner. Made the app in Visual Studio with the Cordova Tools extension. Build the app in Adobe Phonegap online tool. Its an hybrid free app with in-app purchases.What I did to test is delete the app from iPad-A, iPad-B, iPhone-A and iPhone-B, logout on all devices in iTunes.1) iPad-A: I login in iTunes with AppleID-A, go to the app store, install the app and restore the purchase, full version unlocks.2) iPhone-A: I login in iTunes with AppleID-A, go to the app store, install the app and restore the purchase, full version does not unlock3) iPad-B: I login in iTunes with AppleID-A, go to the app store, install the app and restore the purchase, full version unlocks.4) iPphone-B: I login in iTunes with AppleID-A, go to the app store, install the app and restore the purchase, full version unlocks.Delete the app on all devices and log out and do the same te
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Dec ’16
HKLiveWorkoutBuilder restore
I am restoring the HKWorkoutSession using:healthStore.recoverActiveWorkoutSessionBut how I can restore the HKLiveWorkoutBuilder?
Replies
1
Boosts
0
Views
710
Activity
Apr ’20
Reply to Re-purchasing autorenewing subscription
@PBK, the error above `PaymentCancelled` also happens if a user taps Cancel when asked if they want to purchase to begin with, so there is no way to react to this failure state tell the user to Restore.Also, I do not think changing my UI to ask users to Restore before making their first purchase is how we would like to design the purchase experience.Similarly to @filipUT, this behavior is new—after initiating a purchase for an already purchased subscription StoreKit used to return a transaction that had state Purchased and was therfore successful, not a Failed transaction with the SKErrorCode.PaymentCancelled
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Nov ’16