Note that there are some explanatory texts on larger screens.

plurals
  1. POIn App Purchase Not getting productList
    primarykey
    data
    text
    <p>I have registered my products for In App Purchase. I created a sample app for getting the products. Its working just fine.</p> <p>When I integrated that code in my existing app I am getting empty product list. In-App related classes are same in both projects so product identifiers are same as well and all request response process is same.</p> <p>I tried to keep same bundle identifier to bot app which I have used for the app to registered the product and provisioning profile is also same in both of my project (Main and sample).</p> <p>I don't know but for some reason I am not getting my products in my project while I am getting it in sample.</p> <p>Here is the code</p> <pre><code> -(void)requestProducts { NSSet * prodIdentifiers=[NSSet setWithObjects:@"com.test.product1", @"com.test.product2", nil]; self.reqProdcut = [[[SKProductsRequest alloc] initWithProductIdentifiers:prodIdentifiers] autorelease]; reqProdcut.delegate = self; [reqProdcut start]; self.ReceiptData=[NSMutableData data]; } - (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response { NSLog(@"Received products results... %@", response.debugDescription); NSLog(@"%@",response.products); self.products =response.products; // here I get empty array in response.products } </code></pre> <p>Any help please.</p> <p><strong>EDIT</strong></p> <p>Just gone through this [Link] (<a href="https://stackoverflow.com/questions/6654316/in-app-purchase-response-products-empty">In-App Purchase response.products empty</a>)</p> <p>All of my product identifiers from my app are in <code>response.invalidProductIdentifiers</code> while in my sample all is correct.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload