In App Purchase

Nibbie
Posts: 1
Joined: 2012.02
Post: #1
Hello , I am creating a application with auto-renewable in app purchase in Iphone and iPad,
In my mind there have many questions are arrived can any body have the answer so please let me the answer of my following question.
1,I have product id of my other application uploaded in other apple account. can I use this product information in my application for understanding the flow.
2, I have already available in my apps in iPhone app store in last year, Now I have added on product id with some information to implement the in app purchase. current status of product is "waitting for screenshot" I am trying to get the information from my code , but its replied invalid id...
What is wrong thing i am doing. in below is my code

//Send to app store
SKProductsRequest *request = [ [SKProductsRequest alloc] initWithProductIdentifiers: @"xxx.yyy.com"];
[request setDelegate: self];
[request start];


// Got response
didReceiveResponse:(SKProductsResponse *)response {

NSArray *invalidIdentifiers = [response invalidProductIdentifiers];
// [delegate_ purchaseController: self didLoadInfo: product];
NSArray *products = [response products];
NSLog(@"invalid invalidIdentifiers---> test %d",invalidIdentifiers.count);
NSLog(@"Valid valid-----> %d",products.count);
for(SKProduct *product in products){
NSString *strId = product.productIdentifier;
NSLog(@"Product Title:%@",product.localizedTitle);
return;
}



Its showing all is invalid id.

Always i am getting invalid id.
3 Suppose i got response , I want to send receipt my my server so where i can written a code for sending the receipt info to my server .

4 Observer is continues check the renewable date.
5 How i can set the stop auto -renewable .
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  In App Purchase setup and testing Jamie W 7 18,495 Jan 27, 2012 12:51 PM
Last Post: apptrio
  In app purchase in games captainfreedom 14 7,999 May 23, 2010 02:37 PM
Last Post: captainfreedom