Hey there,
I’ve built a game for android and iOS which is just about to be finished, the only thing left is iOS in app purchases. Android works perfectly fine, but I can’t seem to get it to work on iOS.
I’m using a modified version of the unity iap script from the docs which works fine for android, but somehow not for iOS. Here is my initialization:
public void InitiateController()
{
var module = StandardPurchasingModule.Instance();
ConfigurationBuilder builder = ConfigurationBuilder.Instance(module);
foreach (CatalogItem item in buyableItems)
builder.AddProduct(item.ItemId, ProductType.Consumable);
UnityPurchasing.Initialize(this, builder);
validator = new CrossPlatformValidator(GooglePlayTangle.Data(), AppleTangle.Data(), Application.bundleIdentifier);
}
The IDs im adding to the builder are correct product ids as I use them in iTunes Connect, I have verified that using Debug commands.
Initialization fails because it can’t find the products.
Nov 17 15:00:11 [303] : UnityIAP:Requesting 6 products
Nov 17 15:00:11 [303] : UnityIAP:Requesting product data…
Nov 17 15:00:12 [303] : UnityIAP:Received 0 products
I have no idea what is missing. I set up all the 6 products in iTunes Connect as consumables, only missing is the screenshot and the submit of course. I’ve added a sandbox user to be able to test them, but I ain’t even receiving them.
Anyone able to tell me what could be wrong?