IAP Issue Ongoing for Months
Hi All,
The Method i am using to handle purchase:
I am using the purchaser script shown here https://gist.github.com/AddyDaDaddy/6fa3dee342232faa03263a7dfe072a74
What i have so far: So far i have a main menu with a button called Shop, clicking this opens the ShopUI, once in the shop i have 1 item for sale which is called Remove Ads & Unlock Endless, clicking this will purchase the product, after returning to the main menu you should now see a new button appear saying "Endless Mode" clicking this will allow the player to access that game mode........ this works fine.
The Issue: Once i go into the new game mode "Endless Mode" and play it for the first time, i return the main menu to see that the "Endless Button" has disappeared, i am not sure why this is happening.
Any Ideas?
I am using the below to handle the purchase...
if (String.Equals(args.purchasedProduct.definition.id, kProductIDNonConsumable, StringComparison.Ordinal))
{
Debug.Log(string.Format("ProcessPurchase: PASS. Product: '{0}'", args.purchasedProduct.definition.id));
if (DataObject.instance == null)
{
DataObject.instance = new DataObject();
DataObject.instance.Load();
}
DataObject.instance.adsRemoved = true;
EndlessButton.SetActive (true);
Debug.Log("Ads Removed");
DataObject.instance.Save();
}
Your answer
Follow this Question
Related Questions
Difference size between Android and iOS app. 0 Answers
In-App Purchasing not initialized 0 Answers
Sharing Asset Store Purchases with Team 0 Answers
If I buy Unity Pro can I upload to App stores for free? 1 Answer
Soomla MarketItem.Consumable Error 0 Answers