Is there a way to detect if someone purchased a gamepass on the game website?

I was looking into OpenCloud possibly, but I’m not seeing any possibility of it.

I am creating an offsite database which logs each time a gamepass was purchased. I can of course log each time a gamepass was purchased in the actual game, but is there a way to detect if they purchase the pass on the actual website store?

3 Likes

There isn’t any API to listen to a gamepass purchase on the website, but you can use UserOwnsGamePassAsync on PlayerAdded (which you should be doing already) and fire your own event. The time of purchase won’t be 100% accurate, but for the most part you can assume a player will join the game shortly after purchasing on the website.

4 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.