Marketplace service questions

I’m not having an issue or anything I’m wondering how you can check if a shirt sold in your game via marketplace service or any other way, like a player buys a shirt and the game can see that they bought it just like a dev product. Is there any way I can do that? if so please help.

You can see commissions for avatar shop sales in-game on the developer stats, but you can also get some sort of analytics event, which is fired when a purchase prompt is completed, check out GameAnalytics as a good option to check.

2 Likes
game:GetService("MarketplaceService"):PromptPurchase(player,ID) -- Purchase
game:GetService("MarketplaceService").PromptPurchaseFinished:Connect(function(player,ID,isPurchased)
if not isPurchased then return end
print("Purchased!")
end)
1 Like

This is great, but I’m guessing @floodedtown wants to be able to track per sale, which you’ll still need some form of analytics events to do.

2 Likes

Thank you I will be testing this out with the new information.

2 Likes

I didn’t know about the PromptPurchaseFinished, thank you.

1 Like

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