storekit

How check sandbox server status? (“Cannot connect to itunes store”)

▼魔方 西西 提交于 2019-12-04 01:57:48
I'm developing in-app purchase using this excellent tutorial: http://www.raywenderlich.com/21081/introduction-to-in-app-purchases-in-ios-6-tutorial and I'm getting an error "Cannot connect to itunes store" which it seems can be related to Apple's sandbox servers being down; apart from googling for tweets regarding sandbox status, is there any other way of confirming their status otherwise it's difficult (read ipossible) to debug. Almost a year late, but I'm facing the same problem right now. As far as I know, the best way to test the status of the iTunes Sandbox environment is checking this

Method does not reach Completion Block

守給你的承諾、 提交于 2019-12-04 01:46:43
I'm using the SKStoreProductViewController to display an iTunes product with the following method. The method gets called, but I get no success or error. Any idea why?: @IBAction func BuySomething(sender : AnyObject) { NSLog("%@","called");//gets called let storeViewController:SKStoreProductViewController = SKStoreProductViewController(); storeViewController.delegate = self; var someitunesid:String = "676059878"; var productparameters = [SKStoreProductParameterITunesItemIdentifier:someitunesid]; storeViewController.loadProductWithParameters(productparameters, { (success: Bool!, error: NSError!

StoreKit to return all product IDs

被刻印的时光 ゝ 提交于 2019-12-04 01:24:45
This question is a little different from the others I've found here. My In App StoreKit is working, I can list products in my store successfully. I've gone through the Apple documentation and never saw my question addressed(I may have missed it). My client(non-profit) would like to be able to accept donations through their App. I would like to let them have the ability to add new donation events on the fly without users having to update their app. What I mean is, they may have a special "Help us sponsor an event this upcoming Arbor Day" and accept donations particular to that case. I am

Tap continue and sign in to check for downloads. [Sandbox]

旧时模样 提交于 2019-12-03 22:21:40
From times to times I get a very annoying dialog with the text: "Tap continue and sign in to check for downloads." If I login ( with a sandbox user ) or tap Cancel the dialog is immediately displayed again. I am using Non-Renewing Subscriptions and Non-Consumable products. Any ideas how to get rid of this dialog? Thanks /Martin The consensus seems to be that: The issue started in iOS 6 It doesn't seem to happen if you are not logged in in Settings with an Apple ID. Turning on Airplane Mode and then logging out of whatever Apple ID you're logged in as in Settings, and then leaving Airplane mode

Mechanism to detect display of iOS 10.3 app rating dialog?

笑着哭i 提交于 2019-12-03 20:22:01
问题 TL;DR: Is there some way on iOS to detect the presence/display of the Storekit App Rating dialog added in iOS 10.3? I've recently added support for the new app rating dialog to my apps using: [SKStoreReviewController requestReview]; However, I'm aware there's some caveats of usage (as documented here), namely that the dialog may or may not be presented on calling the above function, the not cases including if the customer has already rated the app or the customer has dimissed the dialog 3

Unresolved Identifier - SKErrorPaymentCancelled [duplicate]

醉酒当歌 提交于 2019-12-03 17:35:33
问题 This question already has answers here : Use of unresolved identifier when using StoreKit constants with iOS 9.3/Xcode 7.3 (3 answers) Closed 3 years ago . I updated to the latest version of Xcode 7.3 with the release of iOS 9.3 & OSX 10.11.4 (inclusive of Swift 2.2) yesterday. When I build my app I get an error stating Use of unresolved identifier 'SKErrorPaymentCancelled' which I use to check if the user has cancelled a payment. I don't do anything special with it, just log it (as seen

Discount when purchasing an iOS in-app purchase

守給你的承諾、 提交于 2019-12-03 17:35:10
Im planning to provide a discount for an In App purchase when a user successfully scans a QR code using the application. I'm aware that there is no way to provide a discount for an existing item. Im planing to add another item with the discounted price. Any one has prior experience with an approach like this ? Thank you in advance There is no way to do this directly - give a discount on a single IAP. In some of my apps I have free ad-ons that just have to be downloaded, and I have them in the same area as the in app purchases to get the user to go to that area. But you should read section 11

What should the app do in response to a deferred SKPaymentTransaction?

為{幸葍}努か 提交于 2019-12-03 17:31:06
问题 I have in-app purchases in my app, and new to iOS 8 are "deferred" transactions, partially described in a tech note I understand what it does and that I need to not block the UI, and update my UI to reflect that the transaction state is deferred. But what am I supposed to place in the method -(void)transactionDeferred:(SKPaymentTransaction *)transaction to disregard the transaction for the time being? Do I only have update the UI? Also what should the content of the UI be? Do I need to

StoreKit returns invalid product identifiers - only on the real App Store, only on iOS7

孤街浪徒 提交于 2019-12-03 16:45:06
We have an App that queries StoreKit for product details like normal (you can disregard that it's a Xamarin App, it shouldn't make a difference unless there's a bug in Xamarin): var request = new SKProductsRequest( new NSSet( ... ) ); _runningRequests.Add( request ); request.ReceivedResponse += HandleReceivedResponse; request.RequestFailed += HandleRequestFailed; request.RequestFinished += HandleRequestFinnished; request.Start(); // .... void HandleReceivedResponse( object sender, SKProductsRequestResponseEventArgs e ) { ViewModel.IsProcessing = false; foreach (var item in e.Response

Apple In app purchase StoreKit error

夙愿已清 提交于 2019-12-03 16:22:56
I am implementing in app purchase feature for a bookshelf but an error message RANDOMLY appear during purchasing books. The error message is "Payment requests are restricted to products returned as valid via Store Kit's didReceiveResponse method." I find the document in apple http://developer.apple.com/library/ios/#qa/qa2010/qa1691.html but it does not help to solve the problem... in the same time observer print out another error : "Can't connect to the iTunes Store". my in app purchase logic flow: APP START: - (void) requestProductDataWithSet:(NSSet*)_set { SKProductsRequest *request= [