- Home /
In-App Purchases not working in Alpha Build
I have 3 different in-app products with id's "small_coins", "mid_coins", "large_coins"
I have used the suggested unity guide to integrate IAP into your unity game. I have changed the code as required to use the ID's.
public static string kProductIDSmall = "small_coins";
public static string kProductIDMid = "mid_coins";
public static string kProductIDLarge = "large_coins";
I have also added the products to the builder in the initialize function:
builder.AddProduct(kProductIDSmall, ProductType.Consumable);
builder.AddProduct(kProductIDMid, ProductType.Consumable);
builder.AddProduct(kProductIDLarge, ProductType.Consumable);
When I run the app inside of unity and press the my store button, I get the expected response back from the purchaser script showing a successful result and adding the consumable to the game.
However, in the alpha build of the game when I press the store button on my android device nothing happens. I expect a google play popup talking about test payment but there is no pop up at all.
I can't work out why the popup does not show in the alpha build.
Removed three duplicate posts. Be sure to only submit your question once. UA does tend to get slow. If you receive an HTTP error code, your post did actually go up, it wasn't lost.