[Solved] [UWP] testing unpublished app, is it possible?

Is it possible to test the Unity IAP service without publishing an app?

I know about the mock billing but the returned receipt is fake. I would require a real receipt to test a 3rd party API (for virtual currency management).

I tried disabling billing mock, building the app (Universal 10) and running it on my PC. Unfortunately the IAP service never gets initialized (and init doesn’t seem to fail or timeout).

Any advice? My app is far from being ready to be published but I’d really need to test the 3rd party service right now.

Thank you

You must register the app in the store to test IAP fully, but you do not have to make the app public. That is the process we recommend in our Windows Store guide:

1 Like

Thanks @ap-unity

Is it normal that if the app is not published the init failure function is never invoked?

@unity-dev

Would you be able to provide the IAP version and what the device log was reporting from IAP?

You may also want to try updating the IAP plugin, since 1.9.3 made some significant changes to the error handling for the UWP store.

@ap-unity I doubt I still have that project handy, sorry.

I will try 1.9.3 as you suggested though, thank you for your time