Is there an event that fires when a player selects cancel on a developer product?

i’ve been doing research on this for a little while now and cant seem to find a way to tell when the player clicks cancel on a developer products. if you have ANY info on this subject, it would be appreciated if you respond :slight_smile:

1 Like

do you mean like the cancel button when it shows buy and cancel?

yea the cancel button that appears on dev products

for that, you should use MarketplaceService | Roblox Creator Documentation

this only works for affiliate products like gears, not dev products. Then the function that it recommends you use for dev products is deprecated

Hello, you should use: MarketplaceService | Roblox Creator Documentation

Here is a example script:

local MarketplaceService = game:GetService("MarketplaceService")

MarketplaceService.PromptProductPurchaseFinished:Connect(function(userId, productId, isPurchased)
	if not isPurchased then
	print("The player canceled the prompt")
	end
end)
1 Like

wdym? if you read the article you should understand

oh thanks dude i think all i really needed was a visual sample, and i couldnt find one, thank you :+1: