storekit

The item you tried to buy is no longer available [Environment: Sandbox]

I am trying to put In App purchase in my application. I had setup a consumable product which was working fine in Sandbox environment. Now i just made a new product which is non-consumable with new price tier, and deleted the old one. Update my code, with the new Product ID. When request is sent, it properly shows the right Product with n...

iPhone storekit productIdentifier

I am trying to implement the StoreKit on iPhone 3.1.3 and keep getting the invalidProductIdentifier error. The question I have is the productKey used in following two methods the same? SKProductsRequest *request= [[SKProductsRequest alloc] initWithProductIdentifiers: [NSSet setWithObject: @"com.companyName.productName.upgrade"]]; SKP...

null productIdentifier AND invalidproductIdentifier (In-App Purchase)

I have one product registered and cleared for sale in iTunes Connect. I request the CORRECT product id but the SKProductsResponse object returns null productIdentifier and null invalidproductIdentifier. What could be the problem? TOTAL PRODUCTS REGISTERED: 1 PRODUCT IDs MATCH: YES CLEARED FOR PURCHASE: YES SDK: iOS4.0 DEVICE OS: iOS4....

StoreKit SKProductsRequest Crash

I use the following code to request a list of products as per the In-App Purchase Programming Guide. It used to work fine in my iPhone application, however now it crashes every time the product list is requested. The delegate method (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response is ne...

catching the cancel event for [[SKPaymentQueue defaultQueue] restoreCompletedTransactions]

whats going on here programmers, apple released the storekit and we cannot even get any callbacks for the cancel event when a user puts in his/her email and password for [[SKPaymentQueue defaultQueue] restoreCompletedTransactions] . DO NOT GET THIS CONFUSED with pushing cancel when cancelling a purchase, this is pushing cancel when tr...

In App Purchase - can get product info but can't connect to itunes for purchase

Hello I'm trying to make "In App Purchase " works in my iphone app. I created some products and a few test accounts in itunes connect. I have no problem to retreive the products data (prices etc..) but when I try to make a payment - I am asked to log in - I use a test account -> the transaction always fail with the following error :...

how to handle inApp subscription type when it purchesed but not download yet.

my InApp type is subscription. once i tap on OK it always call - (void)failedTransaction:(SKPaymentTransaction *)transaction how to handle it call on completeTransaction ? ...

iPhone storekit sandbox stopped working.

Bug reported as fixed by Apple, see accepted answer below ... UPDATE MON AUG 23rd 10:00 GMT Although the bug report with apple hasn't been closed yet, it now seems to be working (at least for a couple of us) OK. It could be they have nailed it, or the fix is in testing, and I'll report back when (if) I hear anything more from Apple. ...

iPad In App Purchase fails with SKErrorPaymentCancelled and "Cannot connect to iTunes Store"

Possible Duplicate: iPhone storekit sandbox stopped working. Hi. I updated today to version 3.2.2 of the iPad iOS and I noticed that my In App Purchase testing was not working. I am using a test account and everyhing was working until now (our app is already live since june and the real in app purchase works), but today I wan...

SDK StoreKit Warning

I am getting down to the last programming on my little app and I am using the standard StoreKit code as follows: - (void) paymentQueue:(SKPaymentQueue *)queue updatedTransactions:(NSArray *)transactions { for (SKPaymentTransaction *transaction in transactions) { switch ( transaction.transactionState ) { case SKPayment...

Does an In App Purchase's Product ID have to begin with a Reverse-DNS?

Does an In App Purchase's Product ID have to begin with a Reverse-DNS like com.mycompany.My_Awesome_Game.Level_Pack_1 or can it just be standalone like Level_Pack_1? ...

iphone: in-App Purchase Error

Hi, I am developing an application and using in-app purchases in it. i have created in-app products in iTunes Connect. till yesterday everything was working fine. but today. it started giving this error. "Error: Payment requests are restricted to products returned as valid via Store Kit's didRecieveResponse method." i have no idea wha...

iphone in-app purchase: On error, whose responsibility is notifying the user?

I have a complete in app purchase solution but am wondering if I am handling errors correctly. I handle errors using code similar to the Apple example here; - (void) failedTransaction: (SKPaymentTransaction *)transaction { if (transaction.error.code != SKErrorPaymentCancelled) { // Optionally, display an error here. } ...

iPhone: Since when did SKPaymentQueue addPayment trigger the applicationWillResignActive callback?

Did I miss this information in the documentation? Am I going mad?? I'm debugging some payment issues and have just discovered that the following code is triggering our applicationWillResignActive callback in the app delegate. SKPayment *payment = [SKPayment paymentWithProductIdentifier:productid]; [[SKPaymentQueue defaultQueue] addPaym...

Purchase/view content from iPhone app OR website

I'm developing a website and a companion iPhone app where users can purchase video content. I'd like to let users buy content from the iPhone app or the website, and then view their purchased content through either medium. My understanding is that the app will be rejected from the App Store unless it uses the StoreKit framework for in-...

iPhone Storekit Helper Library

I have looked around for some resources relating to Apple's StoreKit framework on the iPhone and I really like the way Urban Airship's Store Front works. It is simple to use and the UI is already set up and everything. The problem is, they charge you $0.05 per download. I have upgrades I would like to sell (basically it would download a...