I am checking with the team here on current status on UWP. The core engineer working on this feature is out of the office this week, so replies may be delayed.
Unity IAP is not working on UWP, this problem has been over two years. Suggest you roll back to Unity 2017. Since Unity 2018, the bugs cause you unable to read the online IAP item, so Unity IAP is unable to use on UWP anymore.
il2cpp in-app purchasing package 2.2.2 and in-app version 2.2.7 combo is working for me.
Most of the time, I get time to time feedback about in-app purchase problems but can be Microsoft Store bugs too
with mono builds the latest working was 1.20 , 1.23 did not build. I did test some 2.x version and those did not build either with mono.
It does, I’ve two games on the MS store that appear to still work.
However, there are limitations.
No support for subscriptions (if I recall) and it only supports public audiences, not private.
There might be other limitations, but I’m not aware of them.
Unity have hinted at changes on the IAP\UWP front, but haven’t clarified what they are. It could be dropping support for it or improving (as it’s using an old Windows API and hasn’t been updated in a long time)