I'm about to try implementing this so am interested in the answer.
Is it possibly related to this:
IAP can only be used in Android or iOS apps. IAP will not work in local preview, remote preview, or with any export option other than Android or iOS.
(https://www.construct.net/en/make-games/manuals/construct-3/plugin-reference/mobile-iap)