Check if user purchase product

What should I do if I want to run a command that will run when someone purchases a developer product in-game? I know this is doable since in game I have played it would say “Pack received” after the transaction.

I have tried doing research but could never how to learn it, I don’t know what it is even called…

1 Like