Do you use Intel XDX? Construct 2 has an IAP behavior under Montenisation. The names you give the purchases in your game must also be put into your Android Developer account. Product ID, that's the name you give your different IAPs. In your Android Developer Account, there is a place to put in a list of IAP names.
IAP name is how your game's IAP code communicates with the Google Play Store. The product ID in your game is how the player's purchase things, check for purchases, etc.
Intel XDX is a great choice to export your games, and it does support expoting games with IAPs.