our game is passed the certification. Microsoft raised a problem that submit an update with a fix for the problem at your earliest possible convenience.
I) Consumable item Problem
application does not award Consumable IAP items properly.
Steps to reproduce:
- Launch the application.
- Purchase any consumable item
- After the purchase completes but prior to the purchase flow returning to the application, press the device start button.
- Re-launch the application.
- Note that the consumable has not been awarded.
- Attempt to re-purchase consumable item
- Note that the consumable item cannot be purchased because the previous purchase has not been awarded.
II) Non Consumable item Problem
application does not award Durable IAP items properly.
Steps to reproduce:
- Launch the application.
- Purchase the Remove Ads IAP item.
- After the purchase completes but prior to the purchase flow returning to the application, press the device start button .
- Re-launch the application.
- Play the game, note that ads are still present.
- Attempt to re-purchase the Remove Ads item.
- Note that the app states that the item has been purchased, even though ads are still present.
For information on how to resolve these issues please see the following articles:
http://blogs.windows.com/windows_phone/b/wpdev/archive/2013/08/30/in-app-purchase-success-stories-and-tips-to-test-common-in-app-failure-scenarios.aspx
please help me out from this and how to get the event if user press on the device start button???
for durable item i solved the problem like on every start of the game i am checking the licence of durable item if itz active then i am setting the player prefs value but in case of consumables how to solve the problem???
Hi thanks for response
suppose my app has ten consumable items …so then how to check that??? i need to pass one by one or what ? if user purchased multiple items and restart the game then we need to add all the coins purchases or what?? how to know that the start menu button click event…
i found some where that
// Code to execute when the application is deactivated (sent to background)
// This code will not execute when the application is closing
private void Application_Deactivated(object sender, DeactivatedEventArgs e)
{
UnityPlayer.UnityApp.Deactivate();
}
will be called so how to handle that properly???
Please tell me the event for start button as Back button (KeyCode.Escape) and suggest me the best practices tooo
OnApplicationPause() gets invoked to your scripts when user presses the start button.
thanks dude thats working great for me.
Hello still that problem is not yet solved i can restore the non consumable items but how about the consumable items please help me
I) Consumable item Problem
application does not award Consumable IAP items properly.
Steps to reproduce:
- Launch the application.
- Purchase any consumable item
- After the purchase completes but prior to the purchase flow returning to the application, press the device start button.
- Re-launch the application.
- Note that the consumable has not been awarded.
- Attempt to re-purchase consumable item
- Note that the consumable item cannot be purchased because the previous purchase has not been awarded.