I use Google reserved product IDs “android.test.purchased”。 My app show a messge box “The item you requested is not available fore purchase”, and Unity’s IAP get PurchaseFailureReason.Unkown.
this is about Google reserved product IDs Test your Google Play Billing Library integration | Google Play's billing system | Android Developers
Do other products work OK? Please show the product as defined on your Google Play developer dashboard. You need to define your product both in the app itself, and on your Google Play developer dashboard https://docs.unity3d.com/Manual/UnityIAPGoogleConfiguration.html
As google‘s document, “You do not need to list the reserved products in your application’s product list. Google Play already knows about the reserved product IDs. Also, you do not need to upload your application to the Google Play Console to perform static response tests with the reserved product IDs. You can simply install your application on a device, log into the device, and make billing requests using the reserved product IDs.”
Is Unity IAP not supported Google reserved product IDs? If I use Unity IAP must publish app on GooglePlay and add item on GooglePlay Console?
Yes, you need to publish the app on GooglePlay and add products on GooglePlay Console. https://docs.unity3d.com/Manual/UnityIAPGoogleConfiguration.html
I see~ thank you~
Actually IAP engineering is saying that you should not need to add the product to your Dashboard. But you likely still need a release on the Google Dashboard. Can you confirm that other products work OK? If so, then these products should also work (without needing to be explicitly defined). Please test with an actual product first to confirm that you have everything configured correctly.
What happened with this? I’m also trying to test IAPs without having to make new releases each time
You don’t have to do it each time, just when you first create your first Release on Google Play. This is Google policy, we have no control over it.