Hi defillo,
The in-app product that will be purchased has to be set in your listing.
In my case, Check Printer Free can be unlocked buying com.bujardet.checkprinterfreeunlock. Once that app has been bough, Check Printer Free will be able to check for it at launch, and give access to all the premium features.
View attachment 104113
Once you have set this in-app product, it will be used to purchase within the app.
Since this particular app exists only within your listing, indeed you cannot try to purchase before the containing app is in the store. As you write "ready to download in the market".
You will get detailssize=0 until the app containing iAP is available in the Play Store.