The title says it all. I opened a new place, enabled Studio Access to API Services in the game setting. Next I created a dev product, Then I put in the wiki sample code for PromptPurchaseFinished in a local script like this.
local marketplaceService = game:GetService(“MarketplaceService”)
marketplaceService.PromptPurchaseFinished:connect(function(player, assetId, isPurchased)
if isPurchased then
print(player.Name … " bought an item with AssetID: " … assetId)
else
print(player.Name … " didn’t buy an item with AssetID: " … assetId)
end
end)
PromptPurchaseFinished was triggering yesterday but today it is not triggering. I hope this issue can be fixed soon.
In the mean time. Instead of using PromptPurchaseFinished in a localScript, I have my serverside product processing script fire at the client after a purchase is complete.