IAP works in editor but not on Android/iPhone

I would suggest that you start with the Sample IAP Project here, and provide the device logs. Easiest to start on Android. Ensure to place plenty of Debug.Log statements throughout your purchasing code to help debug any issues, they will show in the device logs. I would recommend Scripted IAP instead of Codeless, we still need to update Codeless.

https://discussions.unity.com/t/700293/3

https://discussions.unity.com/t/699654

https://docs.unity3d.com/Manual/UnityIAPGoogleConfiguration.html

1 Like