How to retreive a receipt from the UWP store?

Hi, thank you for reading.

My game has been uploaded to the store and as I continue to work on it, I’m getting into the IAP section. Problem is that I’m targeting UWP, for xbox and pc. There’s not a whole lot of info that I’ve found out there that helps me with using Microsoft IAP for Unity. Granted, there are a few resources, but nothing I can really figure out, in terms of how to implement.

Is there a way to just obtain a product key or receipt? For the time being, I just want to create a game pass, and if the game pass was bought, it unlocks the full game. And I’m not necessarily creating a store inside my game, I’m planning to have the game pass available as an addon through Microsoft. So if I can just pull a receipt from the addon, or product key of some sort, I can figure out how to implement it.

P.S: I do have the unity IAP integrated in the game, but I’m not sure if that’s what I need for what I want to do.

Yes, to do what you want, you would need to use Unity IAP Unity - Manual: Configuring for Windows Store