Search results for

“restore purchases”

22,011 results found

Post

Replies

Boosts

Views

Activity

MacOS App Receipt Validate a non-in-app purchase?
Every thing I'm reading about receipt validation is only for in-app purchases, but how does the Apple Store then prevent someone from putting the app on a torrent network? If you search receipt in WWDC2020 here: https://developer.apple.com/videos/wwdc2020 it's all in-app receipt validation. SwiftyStoreKit docs says this: When an app is first installed, the app receipt is missing. As soon as a user completes a purchase or restores purchases, StoreKit creates and stores the receipt locally as a file, located by Bundle.main.appStoreReceiptURL. https://github.com/bizz84/SwiftyStoreKit#receipt-verification Which makes it sound like the MacOS app can't actually be receipt validated when it's freshly installed from the Apple Store... 🤷🏻‍♂️ So then back to the top, how's it protected from the .app file becoming torrented?
2
0
1.3k
Sep ’20
Reply to Non-renew subscription and receipt?
I filed a bug report as well. I strongly feel non-renewing in-app purchases belong in the receipt. However, if they want to stop doing this, we will need the purchases restored in the receipt temporarily to move them to a separate server. Otherwise our users' purchases are gone forever, and they will be forced to ask for a refund from Apple.
Topic: App & System Services SubTopic: StoreKit Tags:
Oct ’15
Reply to App rejected: Abandoned batch. IAP restore functionality.
HI :1) Abandoned BatchWe found that while you have submitted In App Purchase products for your app, the In App Purchase functionality is not present in your binary.this assume that you don't have an article in ITC for IAP ? you can't use IAP if you don't create articles on ITC2) Missing restore mechanismYou have to implement a restore Mechanism, but if i refer to 1) you don't even have IAP configured for your app...??i just assuming, i don't know your project... ^^
Jun ’15
Reply to App asks for password every time it is launched
Yes, I suspected it, so I did the integration in the (I suppose) right way. Here following you'll find the code, but this didn't solve the problem...func paymentQueue(queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction]) { print(Received Payment Transaction Response from Apple); for transaction:AnyObject in transactions { if let trans:SKPaymentTransaction = transaction as? SKPaymentTransaction{ switch trans.transactionState { case .Purchased: print(Product Purchased); queue.finishTransaction(transaction as! SKPaymentTransaction) defaults.setBool(true , forKey: admob_footer_purchased) break; case .Failed: print(Purchased Failed); queue.finishTransaction(transaction as! SKPaymentTransaction) break; case .Restored: print(Already Purchased Restored); queue.finishTransaction(transaction as! SKPaymentTransaction) default: print(Default); break; } } } }Thank you!
Topic: App & System Services SubTopic: StoreKit Tags:
Apr ’16
Reply to How to restore auto-renewing subscription
Pretty sure it's recommended you check for the latest receipt when the app opens, but Restore is a way to manually make that happen. The same thing is true with Non-consumables of course where you can silently check for a previous purchase. And again Restore is like the peace-of-mind button for the consumer to be able to restore at will if your initial check failed for some reason.
Topic: App & System Services SubTopic: StoreKit Tags:
Jan ’19
Storekit and Restore button in iOS14
Since WWDC2020, and in the example that Apple provides of the App FrutaBuildingAFeatureRichAppWithSwiftUI, I am not sure whether to include a button to restore the purchase or not in the UI. In this example, the purchase button continues to appear after purchasing, if you run the App again, and the message that appears I think is reversed, first it says if you want to buy, and then it tells you that you had already bought it and if you want to restore the purchase. What is the right way? No need to restore button anymore? Just leaving only the buy button always enabled, is it enough? Thank you all.
0
0
505
Sep ’20
Reply to macOS In-App Purchase product restore doesn't update receipt
Unfortunately on macOS sandbox environment the receipt is the first thing that has to be there to be able to launch and start the app.Every time the app starts without a receipt it exits with code 173 and that triggers a Mac App Store login to download the receipt again.I can save a copy of the app with only the original receipt in it, proceed to purchase on another copy of the app and then try the restore on the first copy that has the receipt without the purchased product id inside.The result is the same, the restore passes with no problem but the receipt is not updated with the product id of the purchased product.
Topic: App & System Services SubTopic: StoreKit Tags:
Nov ’16
Reply to Does Amazon or Ebay pays a fee after their each sell through their apps?
The credits are consumables. You may need to create some way in which the purchased content is restoreable to other devices owned by the same user. Even though restoring is not required for consumables, the content that the credits purchase is not really a consumable and should be restoreable.Your app needs to follow 3.1.1 - if you are unlocking code distributed by Apple in the app itself you must use IAP. You may be able to operate under 3.1.3 and not use IAP.
Topic: App & System Services SubTopic: StoreKit Tags:
Jan ’18
Reply to Requesting products
You test to see if there is a receipt and if there is a receipt you determine what has been purchased. If there is no receipt you wait. If the user requests something that requires an IAP then you tell the user they must first restore their purchases. The same is true for a subscription that might be expired.
Topic: App & System Services SubTopic: StoreKit Tags:
Jul ’17
storekit - it will be restored for free
Guys who know?On iOS 8 does not call any delegate method when this happens:This In-App purchase has already been bought.It will be restored for free.
Replies
1
Boosts
0
Views
619
Activity
Jun ’16
MacOS App Receipt Validate a non-in-app purchase?
Every thing I'm reading about receipt validation is only for in-app purchases, but how does the Apple Store then prevent someone from putting the app on a torrent network? If you search receipt in WWDC2020 here: https://developer.apple.com/videos/wwdc2020 it's all in-app receipt validation. SwiftyStoreKit docs says this: When an app is first installed, the app receipt is missing. As soon as a user completes a purchase or restores purchases, StoreKit creates and stores the receipt locally as a file, located by Bundle.main.appStoreReceiptURL. https://github.com/bizz84/SwiftyStoreKit#receipt-verification Which makes it sound like the MacOS app can't actually be receipt validated when it's freshly installed from the Apple Store... 🤷🏻‍♂️ So then back to the top, how's it protected from the .app file becoming torrented?
Replies
2
Boosts
0
Views
1.3k
Activity
Sep ’20
Reply to Non-renew subscription and receipt?
I filed a bug report as well. I strongly feel non-renewing in-app purchases belong in the receipt. However, if they want to stop doing this, we will need the purchases restored in the receipt temporarily to move them to a separate server. Otherwise our users' purchases are gone forever, and they will be forced to ask for a refund from Apple.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Oct ’15
Reply to App rejected: Abandoned batch. IAP restore functionality.
HI :1) Abandoned BatchWe found that while you have submitted In App Purchase products for your app, the In App Purchase functionality is not present in your binary.this assume that you don't have an article in ITC for IAP ? you can't use IAP if you don't create articles on ITC2) Missing restore mechanismYou have to implement a restore Mechanism, but if i refer to 1) you don't even have IAP configured for your app...??i just assuming, i don't know your project... ^^
Replies
Boosts
Views
Activity
Jun ’15
Reply to App asks for password every time it is launched
Yes, I suspected it, so I did the integration in the (I suppose) right way. Here following you'll find the code, but this didn't solve the problem...func paymentQueue(queue: SKPaymentQueue, updatedTransactions transactions: [SKPaymentTransaction]) { print(Received Payment Transaction Response from Apple); for transaction:AnyObject in transactions { if let trans:SKPaymentTransaction = transaction as? SKPaymentTransaction{ switch trans.transactionState { case .Purchased: print(Product Purchased); queue.finishTransaction(transaction as! SKPaymentTransaction) defaults.setBool(true , forKey: admob_footer_purchased) break; case .Failed: print(Purchased Failed); queue.finishTransaction(transaction as! SKPaymentTransaction) break; case .Restored: print(Already Purchased Restored); queue.finishTransaction(transaction as! SKPaymentTransaction) default: print(Default); break; } } } }Thank you!
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Apr ’16
Reply to How to restore auto-renewing subscription
Pretty sure it's recommended you check for the latest receipt when the app opens, but Restore is a way to manually make that happen. The same thing is true with Non-consumables of course where you can silently check for a previous purchase. And again Restore is like the peace-of-mind button for the consumer to be able to restore at will if your initial check failed for some reason.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jan ’19
Storekit and Restore button in iOS14
Since WWDC2020, and in the example that Apple provides of the App FrutaBuildingAFeatureRichAppWithSwiftUI, I am not sure whether to include a button to restore the purchase or not in the UI. In this example, the purchase button continues to appear after purchasing, if you run the App again, and the message that appears I think is reversed, first it says if you want to buy, and then it tells you that you had already bought it and if you want to restore the purchase. What is the right way? No need to restore button anymore? Just leaving only the buy button always enabled, is it enough? Thank you all.
Replies
0
Boosts
0
Views
505
Activity
Sep ’20
Reply to Is Restore purchases mandatory functionality?
You might have to label it Restore / Review Purchases so your reviewer can check off their list that you've included that. Maybe someone else can chime in on whether or not your app actually has to include the Restore Transactions code, if you've coded something alternate to that.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jan ’19
Reply to SKProductsRequest fails with SKErrorDomain error 0
Actually it is not. When the user wishes to restore their previous purchases all they do is cause the code to execute a restoreCompletedTransactions and all of their non-consumable IAPs and autorenewable subscriptions are transmitted to them as transactions in a call to updatedTransactions. No need to specify specific products to restore.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jul ’15
Reply to macOS In-App Purchase product restore doesn't update receipt
Unfortunately on macOS sandbox environment the receipt is the first thing that has to be there to be able to launch and start the app.Every time the app starts without a receipt it exits with code 173 and that triggers a Mac App Store login to download the receipt again.I can save a copy of the app with only the original receipt in it, proceed to purchase on another copy of the app and then try the restore on the first copy that has the receipt without the purchased product id inside.The result is the same, the restore passes with no problem but the receipt is not updated with the product id of the purchased product.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Nov ’16
Reply to restoreCompletedTransactions returns varying amount transactions
If I don't call finishTransaction on each transaction at the time of purchase, where else do I do it? Every example I've seen of how to setup IAP has a switch statement which finishes the transaction in each case of purchased, restored, and failed.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Apr ’19
Reply to Three distinct types of tvOS apps?
I would be curious how In App Purchases play into this. I think the tv forces persistent storage using the Cloud, but most apps have restore buttons.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’15
Reply to Does Amazon or Ebay pays a fee after their each sell through their apps?
The credits are consumables. You may need to create some way in which the purchased content is restoreable to other devices owned by the same user. Even though restoring is not required for consumables, the content that the credits purchase is not really a consumable and should be restoreable.Your app needs to follow 3.1.1 - if you are unlocking code distributed by Apple in the app itself you must use IAP. You may be able to operate under 3.1.3 and not use IAP.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jan ’18
Reply to Requesting products
You test to see if there is a receipt and if there is a receipt you determine what has been purchased. If there is no receipt you wait. If the user requests something that requires an IAP then you tell the user they must first restore their purchases. The same is true for a subscription that might be expired.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
Jul ’17
Reply to Restore Purchase Feature
Purchases are tied to one ID (or family if set up). The user will need to use the same AppleID for a restore feature to work.
Topic: App & System Services SubTopic: StoreKit Tags:
Replies
Boosts
Views
Activity
May ’21