Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

IAP purchase issue when android back button is pressed

Discussion in 'Unity IAP' started by rakshithjuego, Aug 6, 2019.

  1. rakshithjuego


    May 13, 2019
    If We call "m_StoreController.InitiatePurchase(product)" immediately after initialisation we are facing issue.
    Issue is->when we press android back button after calling "m_StoreController.InitiatePurchase(product)" iap controller will not sends any response even if purchase is success or failure.
  2. ap-unity


    Unity Technologies

    Aug 3, 2016

    Would you be able to provide a few more details about this issue?
    * When are you initializing the Purchasing system? We recommend you do so as soon as possible, i.e. immediately at app start.
    * How soon after you initialize is the purchase happening? We would strongly recommend you only initiate a purchase when the user performs an action.
    * Does the dialog pop up when you initiate the purchase?
    * Could you provide a device log from when this happens?