Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

"this item is not currently for sale"??

Hello everyone! I have a little problem, I tried to sell a developer product but when it's prompted to the user, it always says: "this item is not currently for sale. Your account has not been charged".

Here is my code:

local rep = game.ReplicatedStorage

local event = rep.PaymentEvent

event.OnServerEvent:connect(function(player,recipient,kind)
	game:GetService("MarketplaceService"):PromptPurchase(game.Players:FindFirstChild(recipient), 120073404)
	print("event sent")
end)

Thanks for your help and time, Jonas

7 comments

0

oh ty. now i just need an answer to my question XD

0

Can you edit your question with to include the code block.

0

ok

0

there you go :)

0

Have you set up the developer product correctly

0

mhm

1 answer

Aha. looks like i had to do this client sided. Thanks for the help guys!

This discussion is preserved as it was. New answers, comments, and votes are closed.