app id: com.riseuplabs.newapn
product id: com.riseuplabs.newapn.01
and com.riseuplabs.newapn.02
The bundle Id is correct, provisioning profile is correct, product Ids (com.vendor.appname.itemname
) are relative to the bundle Id (com.vendor.appname
).
In creating the purchase items with unchecked "cleared for sale".
I have request the product by following code:
SKProductsRequest *request= [[SKProductsRequest alloc] initWithProductIdentifiers:
[NSSet setWithObjects: @"com.riseuplabs.newapn.01",
@"com.riseuplabs.newapn.02",
@"01", @"02", nil]];
request.delegate = self;
[request start];
- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response
{
NSLog(@"didRecieveResponse");
NSLog(@"%@",response.products);
NSLog(@"%@",response.invalidProductIdentifiers);
}
but in response: I got all my product id are in invalidProductIdentifiers array.