How do you make a dev product work like a gamepass?

I’m making a game where a player purchases a power only once but it needs to be a Dev Product. How can I achieve this?

When the player purchases the developer product, store the product’s id to a DataStore tied to the player and check if they own it before allowing the prompt to pop up.

What should I use to listen for when a product is purchased? ProcessReceipt?

Yes, MarketplaceService.ProcessReceipt