I'm trying to add an in-app purchases for my App,
I've added a product in iTunes-Connect, and its status is Ready to Submit now.
But I can not get the valid product in function
-(void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response
{
NSArray *myProduct = response.products;
NSLog(@"%@", response.invalidProductIdentifiers);
if(myProduct.count == 0)
{
return;
}
SKPayment *payment = [SKPayment paymentWithProduct:myProduct[0]];
[[SKPaymentQueue defaultQueue] addPayment:payment];
}
the array of product is always empty, is there any step I miss?
My tax info is not finished for some reasons, is there realtionship with the problem?